GtkCellRendererAccel {RGtk2}R Documentation

GtkCellRendererAccel

Description

Renders a keyboard accelerator in a cell

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

Structures

GtkCellRendererAccel
undocumented

Convenient Construction

gtkCellRendererAccel is the equivalent of gtkCellRendererAccelNew.

Enums and Flags

GtkCellRendererAccelMode
undocumented

gtk
undocumented
other
undocumented

Signals

The (accel, path.string, user.data)
Gets emitted when the user has removed the accelerator.

Since 2.10

accel
[GtkCellRendererAccel] the object reveiving the signal
path.string
[character] the path identifying the row of the edited cell
user.data
[R object] user data set when the signal handler was connected.

The (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
[GtkCellRendererAccel] the object reveiving the signal
path.string
[character] the path identifying the row of the edited cell
accel.key
[numeric] the new accelerator keyval
accel.mods
[GdkModifierType] the new acclerator modifier mask
hardware.keycode
[numeric] the keycode of the new accelerator
user.data
[R object] user data set when the signal handler was connected.

Properties

accel-key [numeric : Read / Write]

The keyval of the accelerator.

Allowed values: <= G_MAXINT Default value: 0 Since 2.10

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: <= G_MAXINT Default value: 0 Since 2.10

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererAccel.html


[Package RGtk2 version 2.12.5-3 Index]