gtk.list_box_row

Module for [ListBoxRow] class

Types 3

[gtk.list_box_row.ListBoxRow] is the kind of widget that can be added to a [gtk.list_box.ListBox].

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: Determines whether the ::row-activated signal will be emitted for this row.
void activatable(bool propval) @propertySet `activatable` property. Params: propval = Determines whether the ::row-activated signal will be emitted for this row.
gtk.widget.Widget child() @propertyGet `child` property. Returns: The child widget.
void child(gtk.widget.Widget propval) @propertySet `child` property. Params: propval = The child widget.
bool selectable() @propertyGet `selectable` property. Returns: Determines whether this row can be selected.
void selectable(bool propval) @propertySet `selectable` property. Params: propval = Determines whether this row can be selected.
void changed()Marks row as changed, causing any state that depends on this to be updated.
bool getActivatable()Gets whether the row is activatable. Returns: true if the row is activatable
gtk.widget.Widget getChild()Gets the child widget of row. Returns: the child widget of row
gtk.widget.Widget getHeader()Returns the current header of the row.
int getIndex()Gets the current index of the row in its [gtk.list_box.ListBox] container. Returns: the index of the row, or -1 if the row is not in a listbox
bool getSelectable()Gets whether the row can be selected. Returns: true if the row is selectable
bool isSelected()Returns whether the child is currently selected in its [gtk.list_box.ListBox] container. Returns: true if row is selected
void setActivatable(bool activatable)Set whether the row is activatable.
void setChild(gtk.widget.Widget child = null)Sets the child widget of self.
void setHeader(gtk.widget.Widget header = null)Sets the current header of the row.
void setSelectable(bool selectable)Set whether the row can be selected.
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 [gtk.listboxrow.ListBoxRow]. Returns: a new [gtk.listboxrow.ListBoxRow]
Methods
T activatable(bool propval)Set `activatable` property. Params: propval = Determines whether the ::row-activated signal will be emitted for this row. Returns: Builder instance for fluent chaining
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = The child widget. Returns: Builder instance for fluent chaining
T selectable(bool propval)Set `selectable` property. Params: propval = Determines whether this row can be selected. Returns: Builder instance for fluent chaining

Fluent builder for [gtk.list_box_row.ListBoxRow]

Methods