File: gdkKeymapGetEntriesForKeycode.Rd

package info (click to toggle)
rgtk2 2.20.36-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 33,540 kB
  • sloc: ansic: 137,163; makefile: 2; sh: 1
file content (23 lines) | stat: -rw-r--r-- 1,084 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
\alias{gdkKeymapGetEntriesForKeycode}
\name{gdkKeymapGetEntriesForKeycode}
\title{gdkKeymapGetEntriesForKeycode}
\description{Returns the keyvals bound to \code{hardware.keycode}.
The Nth \code{\link{GdkKeymapKey}} in \code{keys} is bound to the Nth
keyval in \code{keyvals}.
When a keycode is pressed by the user, the keyval from
this list of entries is selected by considering the effective
keyboard group and level. See \code{\link{gdkKeymapTranslateKeyboardState}}.}
\usage{gdkKeymapGetEntriesForKeycode(object, hardware.keycode)}
\arguments{
\item{\verb{object}}{a \code{\link{GdkKeymap}} or \code{NULL} to use the default keymap}
\item{\verb{hardware.keycode}}{a keycode}
}
\value{
A list containing the following elements:
\item{retval}{[logical] \code{TRUE} if there were any entries}
\item{\verb{keys}}{return location for list of \code{\link{GdkKeymapKey}}, or NULL}
\item{\verb{keyvals}}{return location for list of keyvals, or NULL}
\item{\verb{n.entries}}{length of \code{keys} and \code{keyvals}}
}
\author{Derived by RGtkGen from GTK+ documentation}
\keyword{internal}