Replies: 1 comment 1 reply
-
Use https://gtk-rs.org/gtk-rs-core/stable/latest/docs/gio/struct.ThemedIcon.html#method.new which is a subclass of gio::Icon |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to add an icon from gio Resource to gio Menuitem.
Menuitem has a function set_icon() which demands gio::Icon
but I don’t understand how to properly create this gio::Icon from gio::Resource.
Beta Was this translation helpful? Give feedback.
All reactions