Replies: 2 comments 4 replies
|
Did you see: https://github.com/gircore/gir.core/blob/main/src/Samples/Gtk-4.0/ListView/TemplateListViewWindow.cs ? You probably want to combine it with: https://github.com/gircore/gir.core/blob/main/src/Samples/Gtk-4.0/GridView/CustomObjectGridViewWindow.cs I can't help you more than this as I don't have much GTK experience myself. I would need to read through the GTK docs too. Please see: https://docs.gtk.org/gtk4/section-list-widget.html |
4 replies
|
Closing this as it is no longer relevant on my case |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I hope this is not totally stupid question.
I am totally new to GTK and ADW. There are couple of examples on how to use lists in examples section. One uses custom object, but it is using SignalListItemFactory and they use . I would like to use BuilderListItemFactory as I am using separate template for list items. i have template for the list like below:
This is working, and if I replace the lookup element with actual text, it works. I have tried both: Test and test.
Then I have the whole list using this kind of object
I can see multiple items added to the list and the are visible, but without data. When list is populating data I can see errors "test" not being as a property of DataObject. So my question is: Is this actual error, or am I doing something wrong. Or is my understanding on GObject still lacking and I need to do more than what I have done. In any case, help would be appreciated. :)
Edit: Sorry about the formatting
All reactions