gtk.list_box_row
Module for [ListBoxRow] class
Types 3
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: The property determines whether the #GtkListBox::row-activated signal will be emitted for this row.void activatable(bool propval) @propertySet `activatable` property. Params: propval = The property determines whether the #GtkListBox::row-activated signal will be emitted for this row.bool selectable() @propertyGet `selectable` property. Returns: The property determines whether this row can be selected.void selectable(bool propval) @propertySet `selectable` property. Params: propval = The property determines whether this row can be selected.void changed()Marks row as changed, causing any state that depends on this to be updated. This affects sorting, filtering and headers.bool getActivatable()Gets the value of the #GtkListBoxRow:activatable property for this row. Returns: true if the row is activatablegtk.widget.Widget getHeader()Returns 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()Gets 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()Gets the value of the #GtkListBoxRow:selectable property for this row. Returns: true if the row is selectablebool isSelected()Returns whether the child is currently selected in its #GtkListBox container. Returns: true if row is selectedvoid setActivatable(bool activatable)Set the #GtkListBoxRow:activatable property for this row.void setHeader(gtk.widget.Widget header = null)Sets 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...void setSelectable(bool selectable)Set the #GtkListBoxRow:selectable property for this row.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.bin.BinGidBuilderImpl!T, gtk.actionable.ActionableGidBuilderImpl!T
Methods
T activatable(bool propval)Set `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)Set `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