ListHeader
Object Hierarchy:
Gtk.ListHeader
Gtk.ListHeader
Gtk.ListHeader
GLib.Object
GLib.Object
GLib.Object->Gtk.ListHeader
Description:
[
CCode ( type_id =
"gtk_list_header_get_type ()" ) ]
[
Version ( since =
"4.12" ) ]
public sealed class ListHeader :
Object
Used by list widgets to represent the headers they display.
`GtkListHeader` objects are managed just like [class@Gtk.ListItem] objects via their factory, but provide a different set of properties
suitable for managing the header instead of individual items.
Content:
Properties:
public Widget child { get ; set ; }
Widget used for display.
public uint end { get ; }
The first position no longer part of this section.
public Object item { get ; }
The item at the start of the section.
public uint n_items { get ; }
Number of items in this section.
public uint start { get ; }
First position of items in this section.
Creation methods:
Methods:
public unowned Widget ? get_child ()
Gets the child previously set via
set_child or null if none was set.
public uint get_end ()
Gets the end position in the model of the section that
this is currently the header for.
public unowned Object ? get_item ()
Gets the model item at the start of the section.
public uint get_n_items ()
Gets the the number of items in the section.
public uint get_start ()
Gets the start position in the model of the section that
this is currently the header for.
public void set_child (Widget ? child)
Sets the child to be used for this listitem.
Inherited Members:
All known members inherited from class GLib.Object