Skip to content

Storing list of IsA<gtk::Widget>: trait cannot be made into an object #1815

Closed Answered by kaixoo
kaixoo asked this question in Q&A
Discussion options

You must be logged in to vote

Solution: https://users.rust-lang.org/t/storing-list-of-isa-gtk-widget-trait-cannot-be-made-into-an-object/115346/3

tl.dr. Vec<gtk::Widget> IS the way to do this, you just need to cast gtk::Button.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kaixoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant