It derives from <GObject>.
Used by list widgets to represent the headers they display.
<GtkListHeader> objects are managed just like
<GtkListItem> objects via their factory, but
provide a different set of properties suitable for managing the header
instead of individual items.
Widget used for display.
Its value is a <GtkWidget>, or #f.
Set it with (set! (list-header:child self) value).
The first position no longer part of this section.
Its value is an unsigned 32-bit integer.
It is read only.
The item at the start of the section.
Its value is a <GObject>, or #f.
It is read only.
Number of items in this section.
Its value is an unsigned 32-bit integer.
It is read only.
First position of items in this section.
Its value is an unsigned 32-bit integer.
It is read only.
Gets the child previously set via list-header:set-child or #f if none was set.
Passed: a <GtkListHeader>.
Returned: a <GtkWidget>, or #f.
The child
Gets the end position in the model of the section that self is currently the header for.
If self is unbound, GTK_INVALID_LIST_POSITION is returned.
Passed: a <GtkListHeader>.
Returned: an unsigned 32-bit integer.
The end position of the section
Gets the model item at the start of the section. This is the item that
occupies the list model at position list-header:start.
If self is unbound, this function returns #f.
Passed: a <GtkListHeader>.
Returned: a <GObject>, or #f.
The item displayed
Gets the the number of items in the section.
If self is unbound, 0 is returned.
Passed: a <GtkListHeader>.
Returned: an unsigned 32-bit integer.
The number of items in the section
Gets the start position in the model of the section that self is currently the header for.
If self is unbound, GTK_INVALID_LIST_POSITION is returned.
Passed: a <GtkListHeader>.
Returned: an unsigned 32-bit integer.
The start position of the section
Sets the child to be used for this listitem.
This function is typically called by applications when setting up a header so that the widget can be reused when binding it multiple times.
Passed: a <GtkListHeader>.
Passed, or left out: a <GtkWidget>, or #f.
The list item’s child or #f to unset