11
11
to be saved for future use. (See \code{\link{gtkAccelMapSave}}.)}
12
12
\usage{gtkWidgetSetAccelPath(object, accel.path, accel.group)}
14
\item{\verb{object}}{[\verb{\link{GtkWidget}}] a \verb{\link{GtkWidget}}}
15
\item{\verb{accel.path}}{[character] path used to look up the accelerator}
16
\item{\verb{accel.group}}{[\verb{\link{GtkAccelGroup}}] a \verb{\link{GtkAccelGroup}}.}
14
\item{\verb{object}}{a \code{\link{GtkWidget}}}
15
\item{\verb{accel.path}}{ path used to look up the accelerator. \emph{[ \acronym{allow-none} ]}}
16
\item{\verb{accel.group}}{ a \code{\link{GtkAccelGroup}}. \emph{[ \acronym{allow-none} ]}}
18
18
\details{This function is a low level function that would most likely
19
be used by a menu creation system like \verb{\link{GtkUIManager}}. If you
20
use \verb{\link{GtkUIManager}}, setting up accelerator paths will be done
19
be used by a menu creation system like \code{\link{GtkUIManager}}. If you
20
use \code{\link{GtkUIManager}}, setting up accelerator paths will be done
23
Even when you you aren't using \verb{\link{GtkUIManager}}, if you only want to
23
Even when you you aren't using \code{\link{GtkUIManager}}, if you only want to
24
24
set up accelerators on menu items \code{\link{gtkMenuItemSetAccelPath}}
25
provides a somewhat more convenient interface. }
25
provides a somewhat more convenient interface.
27
Note that \code{accel.path} string will be stored in a \verb{numeric}. Therefore, if you
28
pass a static string, you can save some memory by interning it first with
29
\code{gInternStaticString()}.}
26
30
\author{Derived by RGtkGen from GTK+ documentation}