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
`GtkListHeader` is 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
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref