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
ListBoxRow self()Returns `this`, for use in `with` statements.ListBoxRowGidBuilder builder()Get builder for [gtk.listboxrow.ListBoxRow] Returns: New builder objectbool 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.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 activatablegtk.widget.Widget getChild()Gets the child widget of row. Returns: the child widget of rowgtk.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 listboxbool getSelectable()Gets whether the row can be selected. Returns: true if the row is selectablebool isSelected()Returns whether the child is currently selected in its [gtk.list_box.ListBox] container. Returns: true if row is selectedvoid 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.classListBoxRowGidBuilderImpl(T) : gtk.widget.WidgetGidBuilderImpl!T, gtk.actionable.ActionableGidBuilderImpl!T
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 chainingT child(gtk.widget.Widget propval)Set `child` property. Params: propval = The child widget. Returns: Builder instance for fluent chainingT selectable(bool propval)Set `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