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 _getGType() static nothrow
GType _gType() @property nothrow
ListBoxRow self() nothrowReturns `this`, for use in `with` statements.
ListBoxRowGidBuilder builder() static nothrowGet builder for [gtk.list_box_row.ListBoxRow] Returns: New builder object
bool activatable() @property nothrowGet `activatable` property. Returns: Determines whether the ::row-activated signal will be emitted for this row.
void activatable(bool propval) @property nothrowSet `activatable` property. Params: propval = Determines whether the ::row-activated signal will be emitted for this row.
gtk.widget.Widget child() @property nothrowGet `child` property. Returns: The child widget.
void child(gtk.widget.Widget propval) @property nothrowSet `child` property. Params: propval = The child widget.
bool selectable() @property nothrowGet `selectable` property. Returns: Determines whether this row can be selected.
void selectable(bool propval) @property nothrowSet `selectable` property. Params: propval = Determines whether this row can be selected.
void changed() nothrowMarks row as changed, causing any state that depends on this to be updated.
bool getActivatable() nothrowGets whether the row is activatable. Returns: true if the row is activatable
gtk.widget.Widget getChild() nothrowGets the child widget of row. Returns: the child widget of row
gtk.widget.Widget getHeader() nothrowReturns the current header of the row.
int getIndex() nothrowGets 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() nothrowGets whether the row can be selected. Returns: true if the row is selectable
bool isSelected() nothrowReturns whether the child is currently selected in its [gtk.list_box.ListBox] container. Returns: true if row is selected
void setActivatable(bool activatable) nothrowSet whether the row is activatable.
void setChild(gtk.widget.Widget child = null) nothrowSets the child widget of self.
void setHeader(gtk.widget.Widget header = null) nothrowSets the current header of the row.
void setSelectable(bool selectable) nothrowSet 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) nothrowConnect to `Activate` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [gtk.list_box_row.ListBoxRow]. Returns: a new [gtk.list_box_row.ListBoxRow]

Fluent builder implementation template for gtk.list_box_row.ListBoxRow

Methods
T activatable(bool propval) nothrowSet `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) nothrowSet `child` property. Params: propval = The child widget. Returns: Builder instance for fluent chaining
T selectable(bool propval) nothrowSet `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
ListBoxRow build() nothrowCreate object from builder. Returns: New object