CellRendererAccel

Description GtkCellRendererAccel displays a keyboard accelerator (i.e. a key combination like <Control>-a). If the cell renderer is editable, the accelerator can be changed by simply typing the new combination. The GtkCellRendererAccel cell renderer was added in GTK+ 2.10.

Constructors

this
this(GtkCellRendererAccel* gtkCellRendererAccel)

Sets our main struct and passes it to the parent class

this
this()

Creates a new GtkCellRendererAccel. Since 2.10

Members

Functions

addOnAccelCleared
void addOnAccelCleared(void delegate(string, CellRendererAccel) dlg, ConnectFlags connectFlags)

Gets emitted when the user has removed the accelerator. Since 2.10

addOnAccelEdited
void addOnAccelEdited(void delegate(string, guint, GdkModifierType, guint, CellRendererAccel) dlg, ConnectFlags connectFlags)

Gets emitted when the user has selected a new accelerator. Since 2.10

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

Static functions

callBackAccelCleared
void callBackAccelCleared(GtkCellRendererAccel* accelStruct, gchar* pathString, CellRendererAccel _cellRendererAccel)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackAccelEdited
void callBackAccelEdited(GtkCellRendererAccel* accelStruct, gchar* pathString, guint accelKey, GdkModifierType accelMods, guint hardwareKeycode, CellRendererAccel _cellRendererAccel)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

connectedSignals
int[string] connectedSignals;
gtkCellRendererAccel
GtkCellRendererAccel* gtkCellRendererAccel;

the main Gtk struct

onAccelClearedListeners
void delegate(string, CellRendererAccel)[] onAccelClearedListeners;
Undocumented in source.
onAccelEditedListeners
void delegate(string, guint, GdkModifierType, guint, CellRendererAccel)[] onAccelEditedListeners;
Undocumented in source.

Inherited Members

From CellRendererText

gtkCellRendererText
GtkCellRendererText* gtkCellRendererText;

the main Gtk struct

getCellRendererTextStruct
GtkCellRendererText* getCellRendererTextStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
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.
connectedSignals
int[string] connectedSignals;
onEditedListeners
void delegate(string, string, CellRendererText)[] onEditedListeners;
Undocumented in source.
addOnEdited
void addOnEdited(void delegate(string, string, CellRendererText) dlg, ConnectFlags connectFlags)

This signal is emitted after renderer has been edited. It is the responsibility of the application to update the model and store new_text at the position indicated by path.

callBackEdited
void callBackEdited(GtkCellRendererText* rendererStruct, gchar* path, gchar* newText, CellRendererText _cellRendererText)
Undocumented in source. Be warned that the author may not have intended to support it.
setFixedHeightFromFont
void setFixedHeightFromFont(int numberOfRows)

Sets the height of a renderer to explicitly be determined by the "font" and "y_pad" property set on it. Further changes in these properties do not affect the height, so they must be accompanied by a subsequent call to this function. Using this function is unflexible, and should really only be used if calculating the size of a cell is too slow (ie, a massive number of cells displayed). If number_of_rows is -1, then the fixed height is unset, and the height is determined by the properties again.

Meta