Closed starfear closed 5 years ago
Why do you think there should be a set_icon_name()
on generic buttons? It exists in GTK4 but not in GTK3. In GTK3 it only exists on gtk::ToolButton
and gtk::Window
as you discovered, and gtk::DragSet
/ gtk::DragSource
(which are not included in the bindings currently).
GTK4 bindings are currently being developed and will be merged into the gtk-rs organization over the next weeks.
@GuillaumeGomez I think this one can be closed?
I have included all traits, using
but code below is not working:
I have also tried:
Error: the method
set_icon_name
exists but the following trait bounds were not satisfied:gtk::Button : gtk::GtkWindowExt
gtk::Button : gtk::ToolButtonExt
my cargo config: