garrigue / lablgtk

LablGTK 2 and 3: an interface to the GIMP Tool Kit
https://garrigue.github.io/lablgtk
Other
89 stars 40 forks source link

GtkStyleContext: Add missing class and provider functions #163

Closed Julow closed 5 months ago

Julow commented 1 year ago

Add the missing methods for working with classes and providers on style_context. Also add missing functions operating on screen for working with providers.

Bindings for these functions already exist in tools/introspection/stubs/stubs_Gtk.ml but I'm not sure to see what that mean so I implemented them again by taking the similar functions as examples.

garrigue commented 5 months ago

Sorry to have been so long in reacting (more than a year...) I want to include this, but it would be nice to have a test. Do you have some code available to add to the examples directory ?

garrigue commented 5 months ago

Merged anyway since it compiles. We can add examples later.