Skip to content

Bump to Gtk# 3.22#71

Open
ikelos wants to merge 4 commits intoafrantzis:masterfrom
ikelos:master
Open

Bump to Gtk# 3.22#71
ikelos wants to merge 4 commits intoafrantzis:masterfrom
ikelos:master

Conversation

@ikelos
Copy link
Copy Markdown

@ikelos ikelos commented Apr 17, 2026

These changes were pretty much entirely produced by Claude.ai, because I was sad that the fastest hex editor I had ever seen hadn't been updated for the latest GTK.

This patch:

  • Updates the drawing mechanism from pixbuf to cairo.
  • Updates Gtk.HBox/VBox to Gtk.Box
  • Handle smooth scrolling of the cairo datapane
  • Uses Gdk.RGBA rather than Gdk.Color

I've manually verified that the new codebase works as expected. It's technically a little behind, because of Gtk4, but for that Gtk# seems to have moved to gir.core which I'm still investigating. I'll look converting to that, but at least for now this allows people to use a working and compilable version of bless using GtkSharp-3 (the implementation of GtkSharp I used for testing was https://github.com/GLibSharp/GtkSharp.

This is apparently another version (which seems to be where the official page redirects) at https://github.com/GtkSharp/GtkSharp, but I haven't investigated differences or compatbility issues yet.

ikelos added 4 commits April 17, 2026 17:00
These changes were pretty much entirely produced by Claude.ai, because I
was sad that the fastest hex editor I had ever seen hadn't been updated
for the latest GTK.

This patch:
* Updates the drawing mechanism from pixbuf to cairo.
* Updates Gtk.HBox/VBox to Gtk.Box
* Handle smooth scrolling of the cairo datapane
* Uses Gdk.RGBA rather than Gdk.Color

Claude seems to have removed some comments and altered others, but in
general it seems to have done a good job, and I've manually verified
that the new codebase works as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant