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

Classes

OnActivateDelegateWrapper
class OnActivateDelegateWrapper
Undocumented in source.

Functions

addOnActivate
gulong 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(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.

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, OnActivateDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackActivateDestroy
void callBackActivateDestroy(OnActivateDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
getType
GType getType()

Variables

gtkListBoxRow
GtkListBoxRow* gtkListBoxRow;

the main Gtk struct

onActivateListeners
OnActivateDelegateWrapper[] onActivateListeners;
Undocumented in source.

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*

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