GtkCellRendererAccel

0th

Percentile

GtkCellRendererAccel

Renders a keyboard accelerator in a cell

Keywords
internal
Methods and Functions

gtkCellRendererAccelNew() gtkCellRendererAccel()

Hierarchy

GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkCellRenderer
                     +----GtkCellRendererText
                           +----GtkCellRendererAccel

Detailed Description

GtkCellRendererAccel displays a keyboard accelerator (i.e. a key combination like -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.

Structures

Convenient Construction

gtkCellRendererAccel is the equivalent of gtkCellRendererAccelNew.

Enums and Flags

Signals

accel-cleared(accel, path.string, user.data)
Gets emitted when the user has removed the accelerator. Since 2.10
accel
the object reveiving the signal
path.string
the path identifying the row of the edited cell
user.data
user data set when the signal handler was connected.
accel-edited(accel, path.string, accel.key, accel.mods, hardware.keycode, user.data)
Gets emitted when the user has selected a new accelerator. Since 2.10
accel
the object reveiving the signal
path.string
the path identifying the row of the edited cell
accel.key
the new accelerator keyval
accel.mods
the new acclerator modifier mask
hardware.keycode
the keycode of the new accelerator
user.data
user data set when the signal handler was connected.

Properties

accel-key [numeric : Read / Write]
The keyval of the accelerator. Allowed values: <= 0="" g_maxint="" default value:="" since="" 2.10="" <="" dd="">
accel-mode [GtkCellRendererAccelMode : Read / Write]
Determines if the edited accelerators are GTK+ accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK+ are allowed, and the accelerators are rendered in the same way as they are in menus. Default value: GTK_CELL_RENDERER_ACCEL_MODE_GTK Since 2.10
accel-mods [GdkModifierType : Read / Write]
The modifier mask of the accelerator. Since 2.10
keycode [numeric : Read / Write]
The hardware keycode of the accelerator. Note that the hardware keycode is only relevant if the key does not have a keyval. Normally, the keyboard configuration should assign keyvals to all keys. Allowed values: <= 0="" g_maxint="" default value:="" since="" 2.10="" <="" dd="">

References

http://library.gnome.org/devel//gtk/GtkCellRendererAccel.html

Aliases
  • GtkCellRendererAccel
  • gtkCellRendererAccel
  • GtkCellRendererAccelMode
Documentation reproduced from package RGtk2, version 2.20.31, License: GPL

Community examples

Looks like there are no examples yet.