CellRendererAccel

Renders a keyboard accelerator in a cell

gtk.cell_renderer_accel.CellRendererAccel 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.

More...

Constructors

this
this()

Creates a new gtk.cell_renderer_accel.CellRendererAccel.

Members

Functions

connectAccelCleared
ulong connectAccelCleared(T callback, Flag!"After" after)

Connect to AccelCleared signal.

connectAccelEdited
ulong connectAccelEdited(T callback, Flag!"After" after)

Connect to AccelEdited signal.

Inherited Members

From CellRendererText

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 inflexible, 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.

connectEdited
ulong connectEdited(T callback, Flag!"After" after)

Connect to Edited signal.

Detailed Description

Deprecated: Applications editing keyboard accelerators should provide their own implementation according to platform design guidelines