How to create own gio.ListModeller for use in ListView #136
abenz1267
started this conversation in
Discussions
Replies: 2 comments 2 replies
-
You could use gioutil.ListModel. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks a lot ! Implemented it this way, technically it works, but i'm getting
Every time the list changes. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
i'm currently trying to implement my own ListModeller so I can use Go struct types as value for a ListView. Is there and "easy" way I missed, or do I have to manually implement
gio.ListModeller
, which itself extendsglib.Objector
.I "just" want to do
gtk.NewSingleSelection([]MyStructType{...}
.Anyone done anything here?
Regards
Beta Was this translation helpful? Give feedback.
All reactions