This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 90
gtk_style_context_get_property not generated #124
Labels
Milestone
Comments
Unclear why they're not generated, they're explicitly ignored here https://github.com/gtk-rs/gtk/blob/master/Gir.toml#L1768-L1770. Since many years ago in gtk-rs/gtk@4e6d5db Removing that should make them generated correctly, there's nothing complicated about those functions. |
Do you want to provide a PR for that? Simply removing those lines from the |
Sure, I'll get to that tomorrow morning.
…On August 13, 2019 10:51:20 PM PDT, "Sebastian Dröge" ***@***.***> wrote:
Do you want to provide a PR for that? Simply removing those lines from
the `Gir.toml` and then regenerating
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/gtk-rs/gtk/issues/874#issuecomment-521110924
--
Sent from my p≡p for Android.
|
I am also interested in this functionality instead of having to resort to unsafe workarounds in gtk-rs/gtk#949 to get information about fonts used in widgets. |
ArekPiekarz
referenced
this issue
in ArekPiekarz/rusty-git-gui
Feb 2, 2020
Unfortunately due to a following bug in gtk-rs there is no safe function to get information about fonts in a widget: https://github.com/gtk-rs/gtk/issues/874 Thus it was necessary to use some unsafe functions from lower-level gtk-sys and pango-sys.
elmarco
pushed a commit
to elmarco/gtk-rs
that referenced
this issue
Feb 10, 2021
Regenerate with gtk 4.0.0
It's already generated so closing. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This might not be generated because it's similar to g_object_get_property? Despite the naming it does not have the same functionality. Rather, it gets the style property of the Widget. Without it widgets like Granite's avatar widget can't be implemented in Rust.
The text was updated successfully, but these errors were encountered: