We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I trying to make a ComboBox displaying some strings, but I can't figure out how I can add Items to the Combobox.
The text was updated successfully, but these errors were encountered:
I imagine that <ComboBox model=MyModel /> would work? I think that would map to https://gtk-rs.org/docs/gtk/trait.ComboBoxExt.html#tymethod.set_model
<ComboBox model=MyModel />
You'd have to pass it a TreeModel: https://gtk-rs.org/docs/gtk/struct.TreeModel.html
If you'd like something where you can say <ComboBoxText items=vec!() I think this requires writing a wrapper in https://github.com/bodil/vgtk/blob/master/vgtk/src/ext/mod.rs that calls the correct methods.
<ComboBoxText items=vec!()
Sorry, something went wrong.
No branches or pull requests
I trying to make a ComboBox displaying some strings, but I can't figure out how I can add Items to the Combobox.
The text was updated successfully, but these errors were encountered: