gtk.list_box_row

Module for [ListBoxRow] class

Types 3

Methods
GType _gType() @property
ListBoxRow self()Returns `this`, for use in `with` statements.
ListBoxRowGidBuilder builder()Get builder for [gtk.listboxrow.ListBoxRow] Returns: New builder object
bool activatable() @propertyGet `activatable` property. Returns: The property determines whether the #GtkListBox::row-activated signal will be emitted for this row.
void activatable(bool propval) @propertySet `activatable` property. Params: propval = The property determines whether the #GtkListBox::row-activated signal will be emitted for this row.
bool selectable() @propertyGet `selectable` property. Returns: The property determines whether this row can be selected.
void selectable(bool propval) @propertySet `selectable` property. Params: propval = The property determines whether this row can be selected.
void changed()Marks row as changed, causing any state that depends on this to be updated. This affects sorting, filtering and headers.
bool getActivatable()Gets the value of the #GtkListBoxRow:activatable property for this row. Returns: true if the row is activatable
gtk.widget.Widget getHeader()Returns the current header of the row. This can be used in a #GtkListBoxUpdateHeaderFunc to see if there is a header set already, and if so to update the state of it. Returns: the current header, o...
int getIndex()Gets the current index of the row in its #GtkListBox container. Returns: the index of the row, or -1 if the row is not in a listbox
bool getSelectable()Gets the value of the #GtkListBoxRow:selectable property for this row. Returns: true if the row is selectable
bool isSelected()Returns whether the child is currently selected in its #GtkListBox container. Returns: true if row is selected
void setActivatable(bool activatable)Set the #GtkListBoxRow:activatable property for this row.
void setHeader(gtk.widget.Widget header = null)Sets the current header of the row. This is only allowed to be called from a #GtkListBoxUpdateHeaderFunc. It will replace any existing header in the row, and be shown in front of the row in the lis...
void setSelectable(bool selectable)Set the #GtkListBoxRow:selectable property for this row.
gulong connectActivate(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.list_box_row.ListBoxRow))) && Parameters!T.length < 2)Connect to `Activate` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GtkListBoxRow, to be used as a child of a #GtkListBox. Returns: a new #GtkListBoxRow
Methods
T activatable(bool propval)Set `activatable` property. Params: propval = The property determines whether the #GtkListBox::row-activated signal will be emitted for this row. Returns: Builder instance for fluent chaining
T selectable(bool propval)Set `selectable` property. Params: propval = The property determines whether this row can be selected. Returns: Builder instance for fluent chaining

Fluent builder for [gtk.list_box_row.ListBoxRow]

Methods