A ListModel, that can be used with a Selectionmodel in conjunction with GtkBuilderListItemFactory

Hi,

I am trying to create Widgets from a GtkBuilderListItemFactory (in a GtkGridView), that have an action, action target and icon.
GtkStringList seems not feasable for me, as it only has one property.
Is there a way to attach a model, that can contain more data, like the attributes in the menu model?
I want to do this in a flexible way, meaning I don’t want to write C code for that.

Thank you in advance.

If anybody else is interested, I looked at the implementation for GtkStringList and implemented something similar, that fit my needs.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.