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
void addOnActivate(void delegate(ListBoxRow) dlg, ConnectFlags connectFlags)
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()

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.

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

callBackActivate
void callBackActivate(GtkListBoxRow* listboxrowStruct, ListBoxRow _listboxrow)
Undocumented in source. Be warned that the author may not have intended to support it.
getType
GType getType()

Variables

connectedSignals
int[string] connectedSignals;
Undocumented in source.
gtkListBoxRow
GtkListBoxRow* gtkListBoxRow;

the main Gtk struct

onActivateListeners
void delegate(ListBoxRow)[] onActivateListeners;
Undocumented in source.

Inherited Members

From Bin

gtkBin
GtkBin* gtkBin;

the main Gtk struct

getBinStruct
GtkBin* getBinStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

Meta