gtk-rs / gtk3-rs

Rust bindings for GTK 3
https://gtk-rs.org
MIT License
508 stars 90 forks source link

[FEATURE REQUEST] Introduce derive macro for ListStore items #645

Open gagath opened 3 years ago

gagath commented 3 years ago

Hi,

I am the author of the gtk_liststore_item crate (crates.io, github). I think it would be nice that this macro was introduced inside of the framework instead of requiring to use an external crate for making it less verbose to create and interact with ListStore. Feedbacks on the crate and the possibility to merge are welcome!

sdroege commented 2 years ago

@bilelmoussaoui What do you think? The same would also apply to gtk4, and you probably have an opinion on that :)

bilelmoussaoui commented 2 years ago

@bilelmoussaoui What do you think? The same would also apply to gtk4, and you probably have an opinion on that :)

I don't think such thing would be very useful for gtk4, as most of its new types uses GListModel instead of GtkListStore