ListBoxRow

Constructors

this
this(GtkListBoxRow* gtkListBoxRow, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this()

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

Members

Functions

addOnActivate
gulong addOnActivate(void delegate(ListBoxRow) dlg, ConnectFlags connectFlags)

This is a keybinding signal, which will cause this row to be activated.

changed
void changed()

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

getActivatable
bool getActivatable()

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

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

getListBoxRowStruct
GtkListBoxRow* getListBoxRowStruct(bool transferOwnership)

Get the main Gtk struct

getSelectable
bool getSelectable()

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

getStruct
void* getStruct()

the main Gtk struct as a void*

isSelected
bool isSelected()

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

setActivatable
void setActivatable(bool activatable)

Set the #GtkListBoxRow:activatable property for this row.

setHeader
void setHeader(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.

Mixins

__anonymous
mixin ActionableT!(GtkListBoxRow)
Undocumented in source.

Static functions

getType
GType getType()

Variables

gtkListBoxRow
GtkListBoxRow* gtkListBoxRow;

the main Gtk struct

Inherited Members

From Bin

gtkBin
GtkBin* gtkBin;

the main Gtk struct

getBinStruct
GtkBin* getBinStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getChild
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 ActionableIF

getActionableStruct
GtkActionable* getActionableStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getActionName
string getActionName()

Gets the action name for @actionable.

getActionTargetValue
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(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.

Meta