Class

GtkListHeader

Description [src]

final class Gtk.ListHeader : GObject.Object {
  /* No available fields */
}

GtkListHeader is 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.

Available since:4.12

Ancestors

  • GObject

Instance methods

gtk_list_header_get_child

Gets the child previously set via gtk_list_header_set_child() or NULL if none was set.

Available since: 4.12

gtk_list_header_get_end

Gets the end position in the model of the section that self is currently the header for.

Available since: 4.12

gtk_list_header_get_item

Gets the model item at the start of the section. This is the item that occupies the list model at position GtkListHeader:start.

Available since: 4.12

gtk_list_header_get_n_items

Gets the the number of items in the section.

Available since: 4.12

gtk_list_header_get_start

Gets the start position in the model of the section that self is currently the header for.

Available since: 4.12

gtk_list_header_set_child

Sets the child to be used for this listitem.

Available since: 4.12

Properties

Gtk.ListHeader:child

Widget used for display.

Available since: 4.12

Gtk.ListHeader:end

The first position no longer part of this section.

Available since: 4.12

Gtk.ListHeader:item

The item at the start of the section.

Available since: 4.12

Gtk.ListHeader:n-items

Number of items in this section.

Available since: 4.12

Gtk.ListHeader:start

First position of items in this section.

Available since: 4.12

Class structure

struct GtkListHeaderClass {
  /* no available fields */
}