14
14
+----GtkCellRenderer
15
15
+----GtkCellRendererText
16
16
+----GtkCellRendererAccel}}
17
\section{Detailed Description}{\verb{\link{GtkCellRendererAccel}} displays a keyboard accelerator (i.e. a
18
key combination like <Control>-a). If the cell renderer is editable, the
17
\section{Detailed Description}{\code{\link{GtkCellRendererAccel}} displays a keyboard accelerator (i.e. a
18
key combination like <Control>-a). If the cell renderer is editable, the
19
19
accelerator can be changed by simply typing the new combination.
21
The \verb{\link{GtkCellRendererAccel}} cell renderer was added in GTK+ 2.10.}
21
The \code{\link{GtkCellRendererAccel}} cell renderer was added in GTK+ 2.10.}
22
22
\section{Structures}{\describe{\item{\verb{GtkCellRendererAccel}}{
40
40
\section{Signals}{\describe{
41
41
\item{\code{accel-cleared(accel, path.string, user.data)}}{
42
Gets emitted when the user has removed the accelerator.
42
Gets emitted when the user has removed the accelerator.
47
\item{\code{accel}}{[\verb{\link{GtkCellRendererAccel}}] the object reveiving the signal}
48
\item{\code{path.string}}{[character] the path identifying the row of the edited cell}
49
\item{\code{user.data}}{[R object] user data set when the signal handler was connected.}
46
\item{\code{accel}}{the object reveiving the signal}
47
\item{\code{path.string}}{the path identifying the row of the edited cell}
48
\item{\code{user.data}}{user data set when the signal handler was connected.}
54
53
\item{\code{accel-edited(accel, path.string, accel.key, accel.mods, hardware.keycode, user.data)}}{
55
Gets emitted when the user has selected a new accelerator.
54
Gets emitted when the user has selected a new accelerator.
60
\item{\code{accel}}{[\verb{\link{GtkCellRendererAccel}}] the object reveiving the signal}
61
\item{\code{path.string}}{[character] the path identifying the row of the edited cell}
62
\item{\code{accel.key}}{[numeric] the new accelerator keyval}
63
\item{\code{accel.mods}}{[\code{\link{GdkModifierType}}] the new acclerator modifier mask}
64
\item{\code{hardware.keycode}}{[numeric] the keycode of the new accelerator}
65
\item{\code{user.data}}{[R object] user data set when the signal handler was connected.}
58
\item{\code{accel}}{the object reveiving the signal}
59
\item{\code{path.string}}{the path identifying the row of the edited cell}
60
\item{\code{accel.key}}{the new accelerator keyval}
61
\item{\code{accel.mods}}{the new acclerator modifier mask}
62
\item{\code{hardware.keycode}}{the keycode of the new accelerator}
63
\item{\code{user.data}}{user data set when the signal handler was connected.}
71
69
\section{Properties}{\describe{
72
70
\item{\verb{accel-key} [numeric : Read / Write]}{
74
The keyval of the accelerator.
76
Allowed values: <= G_MAXINT Default value: 0 Since 2.10
72
The keyval of the accelerator.
73
Allowed values: <= G_MAXLONG Default value: 0 Since 2.10
79
76
\item{\verb{accel-mode} [\code{\link{GtkCellRendererAccelMode}} : Read / Write]}{
81
78
Determines if the edited accelerators are GTK+ accelerators. If
82
79
they are, consumed modifiers are suppressed, only accelerators
83
80
accepted by GTK+ are allowed, and the accelerators are rendered
84
in the same way as they are in menus.
86
Default value: GTK_CELL_RENDERER_ACCEL_MODE_GTK Since 2.10
81
in the same way as they are in menus.
82
Default value: GTK_CELL_RENDERER_ACCEL_MODE_GTK Since 2.10
89
85
\item{\verb{accel-mods} [\code{\link{GdkModifierType}} : Read / Write]}{
91
The modifier mask of the accelerator.
87
The modifier mask of the accelerator.
96
91
\item{\verb{keycode} [numeric : Read / Write]}{
98
93
The hardware keycode of the accelerator. Note that the hardware keycode is
99
94
only relevant if the key does not have a keyval. Normally, the keyboard
100
configuration should assign keyvals to all keys.
102
Allowed values: <= G_MAXINT Default value: 0 Since 2.10
95
configuration should assign keyvals to all keys.
96
Allowed values: <= G_MAXLONG Default value: 0 Since 2.10
106
\references{\url{http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererAccel.html}}
100
\references{\url{http://library.gnome.org/devel//gtk/GtkCellRendererAccel.html}}
107
101
\author{Derived by RGtkGen from GTK+ documentation}
108
102
\keyword{internal}