gtk.list_header

Module for [ListHeader] class

Types 3

[gtk.list_header.ListHeader] is used by list widgets to represent the headers they display.

[gtk.list_header.ListHeader] objects are managed just like [gtk.list_item.ListItem] objects via their factory, but provide a different set of properties suitable for managing the header instead of individual items.

Methods
GType _gType() @property
ListHeader self()Returns `this`, for use in `with` statements.
ListHeaderGidBuilder builder()Get builder for [gtk.list_header.ListHeader] Returns: New builder object
gtk.widget.Widget child() @propertyGet `child` property. Returns: Widget used for display.
void child(gtk.widget.Widget propval) @propertySet `child` property. Params: propval = Widget used for display.
uint end() @propertyGet `end` property. Returns: The first position no longer part of this section.
gobject.object.ObjectWrap item() @propertyGet `item` property. Returns: The item at the start of the section.
uint nItems() @propertyGet `nItems` property. Returns: Number of items in this section.
uint start() @propertyGet `start` property. Returns: First position of items in this section.
gtk.widget.Widget getChild()Gets the child previously set via [gtk.list_header.ListHeader.setChild] or null if none was set. Returns: The child
uint getEnd()Gets the end position in the model of the section that self is currently the header for.
gobject.object.ObjectWrap getItem()Gets the model item at the start of the section. This is the item that occupies the list model at position [gtk.list_header.ListHeader.start].
uint getNItems()Gets the the number of items in the section.
uint getStart()Gets the start position in the model of the section that self is currently the header for.
void setChild(gtk.widget.Widget child = null)Sets the child to be used for this listitem.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = Widget used for display. Returns: Builder instance for fluent chaining

Fluent builder for [gtk.list_header.ListHeader]

Methods