~ubuntu-branches/ubuntu/trusty/rgtk2/trusty

« back to all changes in this revision

Viewing changes to man/gtkWidgetSetAccelPath.Rd

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2010-11-03 11:35:46 UTC
  • mfrom: (1.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20101103113546-a7fi7jdxdebp0tw1
Tags: 2.20.1-1
* New upstream release

* debian/control: Set (Build-)Depends: to current R version
* debian/control: Set Standards-Version: to current version 

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
to be saved for future use. (See \code{\link{gtkAccelMapSave}}.)}
12
12
\usage{gtkWidgetSetAccelPath(object, accel.path, accel.group)}
13
13
\arguments{
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}  ]}}
17
17
}
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
21
21
automatically.
22
22
  
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.
 
26
  
 
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}
27
31
\keyword{internal}