Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GtkStyleContext: Add missing class and provider functions #163

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

Julow
Copy link
Contributor

@Julow Julow commented Nov 26, 2022

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.

Add the missing methods for working with classes and providers on
'style_context'.

Also add missing functions operating on 'screen' for working with
providers.
@garrigue
Copy link
Owner

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 garrigue merged commit 6b46030 into garrigue:lablgtk3 Jan 30, 2024
@garrigue
Copy link
Owner

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

mseri pushed a commit to ocaml/opam-repository that referenced this pull request Jan 31, 2024
CHANGES:

2024.01.31 [Jacques]
  * use Bytes rather than String
  * Various missing bindings, including lablgtk3-rsvg2 (garrigue/lablgtk#128)
  * GtkStyleContext: Add missing class and provider functions (garrigue/lablgtk#163)
  * Add GdkEvent.Scroll.delta_{x,y} (garrigue/lablgtk#173) [Thomas Leonard]
nberth pushed a commit to nberth/opam-repository that referenced this pull request Jun 18, 2024
CHANGES:

2024.01.31 [Jacques]
  * use Bytes rather than String
  * Various missing bindings, including lablgtk3-rsvg2 (garrigue/lablgtk#128)
  * GtkStyleContext: Add missing class and provider functions (garrigue/lablgtk#163)
  * Add GdkEvent.Scroll.delta_{x,y} (garrigue/lablgtk#173) [Thomas Leonard]
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.

2 participants