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
ListBoxRowGidBuilder builder() static nothrowGet builder for [gtk.list_box_row.ListBoxRow] Returns: New builder objectbool 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.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.bool getActivatable() nothrowGets whether the row is activatable. Returns: true if the row is activatableint 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 listboxbool getSelectable() nothrowGets whether the row can be selected. Returns: true if the row is selectablebool isSelected() nothrowReturns whether the child is currently selected in its [gtk.list_box.ListBox] container. Returns: true if row is selectedgulong 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.widget.WidgetGidBuilderImpl!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 = Determines whether the ::row-activated signal will be emitted for this row. Returns: Builder instance for fluent chainingT child(gtk.widget.Widget propval) nothrowSet `child` property. Params: propval = The child widget. Returns: Builder instance for fluent chainingT selectable(bool propval) nothrowSet `selectable` property. Params: propval = Determines whether this row can be selected. Returns: Builder instance for fluent chainingFluent builder for gtk.list_box_row.ListBoxRow
Methods