ListBoxRow

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this()

Creates a new #GtkListBoxRow, to be used as a child of a #GtkListBox.

Members

Functions

changed
void changed()

Marks row as changed, causing any state that depends on this to be updated. This affects sorting, filtering and headers.

connectActivate
gulong connectActivate(T callback, Flag!"After" after)

Connect to Activate signal.

getActivatable
bool getActivatable()

Gets the value of the #GtkListBoxRow:activatable property for this row.

getHeader
gtk.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.

getIndex
int getIndex()

Gets the current index of the row in its #GtkListBox container.

getSelectable
bool getSelectable()

Gets the value of the #GtkListBoxRow:selectable property for this row.

isSelected
bool isSelected()

Returns whether the child is currently selected in its #GtkListBox container.

self
ListBoxRow self()

Returns this, for use in with statements.

setActivatable
void setActivatable(bool activatable)

Set the #GtkListBoxRow:activatable property for this row.

setHeader
void setHeader(gtk.widget.Widget header)

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 listbox.

setSelectable
void setSelectable(bool selectable)

Set the #GtkListBoxRow:selectable property for this row.

Properties

_gType
GType _gType [@property getter]
activatable
bool activatable [@property getter]

Get activatable property.

activatable
bool activatable [@property setter]

Set activatable property.

selectable
bool selectable [@property getter]

Get selectable property.

selectable
bool selectable [@property setter]

Set selectable property.

Static functions

_getGType
GType _getGType()
builder
ListBoxRowGidBuilder builder()

Get builder for gtk.list_box_row.ListBoxRow

Mixed In Members

From mixin ActionableT!()

actionName
string actionName [@property getter]
actionName
string actionName [@property setter]
actionTarget
glib.variant.Variant actionTarget [@property getter]
actionTarget
glib.variant.Variant actionTarget [@property setter]
getActionName
string getActionName()

Gets the action name for actionable.

getActionTargetValue
glib.variant.Variant getActionTargetValue()

Gets the current target value of actionable.

setActionName
void setActionName(string actionName)

Specifies the name of the action with which this widget should be associated. If action_name is null then the widget will be unassociated from any previous action.

setActionTargetValue
void setActionTargetValue(glib.variant.Variant targetValue)

Sets the target value of an actionable widget.

setDetailedActionName
void setDetailedActionName(string detailedActionName)

Sets the action-name and associated string target value of an actionable widget.

Inherited Members

From Bin

_getGType
GType _getGType()
_gType
GType _gType [@property getter]
self
Bin self()

Returns this, for use in with statements.

builder
BinGidBuilder builder()

Get builder for gtk.bin.Bin

getChild
gtk.widget.Widget getChild()

Gets the child of the #GtkBin, or null if the bin contains no child widget. The returned widget does not have a reference added, so you do not need to unref it.

From Actionable

_getGType
GType _getGType()
actionName
string actionName [@property getter]
actionName
string actionName [@property setter]
actionTarget
glib.variant.Variant actionTarget [@property getter]
actionTarget
glib.variant.Variant actionTarget [@property setter]
getActionName
string getActionName()

Gets the action name for actionable.

getActionTargetValue
glib.variant.Variant getActionTargetValue()

Gets the current target value of actionable.

setActionName
void setActionName(string actionName)

Specifies the name of the action with which this widget should be associated. If action_name is null then the widget will be unassociated from any previous action.

setActionTargetValue
void setActionTargetValue(glib.variant.Variant targetValue)

Sets the target value of an actionable widget.

setDetailedActionName
void setDetailedActionName(string detailedActionName)

Sets the action-name and associated string target value of an actionable widget.