Closed kavan-mevada closed 4 years ago
Would https://github.com/gtk-rs/examples/blob/aa53d613062e2abbcbe44c96bc66fae8048c9d3c/src/bin/basic_subclass.rs suffice, or are you looking for something else?
cc @GuillaumeGomez since I didn't really follow the subclassing story.
For now, the gtk4 is very incomplete, so the examples will come later on. :)
As for a subclass example, there is one provided for the gtk3 crates, nicely provided by @sfanxiang. :)
@sfanxiang: Thanks, that what I was looking for. @GuillaumeGomez: Sure, And you can upload this repo in GNOME(gitlab). I feel there are lots of people wanna learn gtk+rust. (Good to have material next to related one).
Sorry but this won't happen. Or at least not in a close future.
Can we have example of making custom widget or subclass of gtk widget ? https://wiki.gnome.org/HowDoI/CustomWidgets