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 _getGType() static nothrow
GType _gType() @property nothrow
ListHeader self() nothrowReturns `this`, for use in `with` statements.
ListHeaderGidBuilder builder() static nothrowGet builder for [gtk.list_header.ListHeader] Returns: New builder object
gtk.widget.Widget child() @property nothrowGet `child` property. Returns: Widget used for display.
void child(gtk.widget.Widget propval) @property nothrowSet `child` property. Params: propval = Widget used for display.
uint end() @property nothrowGet `end` property. Returns: The first position no longer part of this section.
gobject.object.ObjectWrap item() @property nothrowGet `item` property. Returns: The item at the start of the section.
uint nItems() @property nothrowGet `nItems` property. Returns: Number of items in this section.
uint start() @property nothrowGet `start` property. Returns: First position of items in this section.
gtk.widget.Widget getChild() nothrowGets the child previously set via [gtk.list_header.ListHeader.setChild] or null if none was set. Returns: The child
uint getEnd() nothrowGets the end position in the model of the section that self is currently the header for.
gobject.object.ObjectWrap getItem() nothrowGets 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() nothrowGets the the number of items in the section.
uint getStart() nothrowGets the start position in the model of the section that self is currently the header for.
void setChild(gtk.widget.Widget child = null) nothrowSets the child to be used for this listitem.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gtk.list_header.ListHeader

Methods
T child(gtk.widget.Widget propval) nothrowSet `child` property. Params: propval = Widget used for display. Returns: Builder instance for fluent chaining

Fluent builder for gtk.list_header.ListHeader

Methods
ListHeader build() nothrowCreate object from builder. Returns: New object