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
ListHeader self()Returns `this`, for use in `with` statements.ListHeaderGidBuilder builder()Get builder for [gtk.list_header.ListHeader] Returns: New builder objectvoid child(gtk.widget.Widget propval) @propertySet `child` property. Params: propval = Widget used for display.gobject.object.ObjectWrap item() @propertyGet `item` property. Returns: The item at the start of the section.gtk.widget.Widget getChild()Gets the child previously set via [gtk.list_header.ListHeader.setChild] or null if none was set. Returns: The childuint 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.Methods
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = Widget used for display. Returns: Builder instance for fluent chainingFluent builder for [gtk.list_header.ListHeader]
Methods