gtk.list_box_row
Module for [ListBoxRow] class
Types 3
Methods
ListBoxRowGidBuilder builder() static nothrowGet builder for [gtk.list_box_row.ListBoxRow] Returns: New builder objectbool activatable() @property nothrowGet `activatable` property. Returns: The property determines whether the #GtkListBox::row-activated signal will be emitted for this row.void activatable(bool propval) @property nothrowSet `activatable` property. Params: propval = The property determines whether the #GtkListBox::row-activated signal will be emitted for this row.bool selectable() @property nothrowGet `selectable` property. Returns: The property determines whether this row can be selected.void selectable(bool propval) @property nothrowSet `selectable` property. Params: propval = The property determines whether this row can be selected.void changed() nothrowMarks row as changed, causing any state that depends on this to be updated. This affects sorting, filtering and headers.bool getActivatable() nothrowGets the value of the #GtkListBoxRow:activatable property for this row. Returns: true if the row is activatablegtk.widget.Widget getHeader() nothrowReturns 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() nothrowGets 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 listboxbool getSelectable() nothrowGets the value of the #GtkListBoxRow:selectable property for this row. Returns: true if the row is selectablebool isSelected() nothrowReturns whether the child is currently selected in its #GtkListBox container. Returns: true if row is selectedvoid setActivatable(bool activatable) nothrowSet the #GtkListBoxRow:activatable property for this row.void setHeader(gtk.widget.Widget header = null) nothrowSets 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...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.classListBoxRowGidBuilderImpl(T) : gtk.bin.BinGidBuilderImpl!T, gtk.actionable.ActionableGidBuilderImpl!T
Fluent builder implementation template for gtk.list_box_row.ListBoxRow
Methods
T activatable(bool propval) nothrowSet `activatable` property. Params: propval = The property determines whether the #GtkListBox::row-activated signal will be emitted for this row. Returns: Builder instance for fluent chainingT selectable(bool propval) nothrowSet `selectable` property. Params: propval = The property determines whether this row can be selected. Returns: Builder instance for fluent chainingFluent builder for gtk.list_box_row.ListBoxRow
Methods