I am trying to use GtkColumnView.
From Gtk.SignalListItemFactory::setup we have
void
setup (
GtkSignalListItemFactory* self,
GObject* object,
gpointer user_data
)
But from /usr/share/gir-1.0/Gtk-4.0.gir
<glib:signal name="setup" when="first">
<doc xml:space="preserve"
filename="../gtk/gtksignallistitemfactory.c"
line="156">Emitted when a new listitem has been created and needs to be setup for use.
It is the first signal emitted for every listitem.
The [signal@Gtk.SignalListItemFactory::teardown] signal is the opposite
of this signal and can be used to undo everything done in this signal.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="listitem" transfer-ownership="none">
<doc xml:space="preserve"
filename="../gtk/gtksignallistitemfactory.c"
line="159">The `GtkListItem` to set up</doc>
<type name="ListItem"/>
</parameter>
</parameters>
</glib:signal>
So from GIR file the parameter type is type name=“ListItem”. Is there a good reason that in the API docs parameter type is just GObject*? At least it was confusing for me.