@c -*-texinfo-*- @c This is part of the GNU G-Golf Reference Manual. @c Copyright (C) 2020 Free Software Foundation, Inc. @c See the file g-golf.texi for copying conditions. @c @defindex tl @node Key Values @subsection Key Values G-Golf Gdk Key Values low level API.@* Key Values — Functions for manipulating keyboard codes @subheading Procedures @indentedblock @table @code @item @ref{gdk-keyval-name} @end table @end indentedblock @c @subheading Types and Values @c @indentedblock @c @table @code @c @item @ref{%gdk-event-key-struct} @c @end table @c @end indentedblock @subheading Struct Hierarchy @indentedblock GObject @* @ @ +--- GdkKeymap @* @end indentedblock @subheading Description Key values are the codes which are sent whenever a key is pressed or released. They appear in the @code{GdkEventKey.keyval} field of the @code{GdkEventKey} structure, which is passed to signal handlers for the @samp{key-press-event} and @samp{key-release-event} signals. Please refer to the @uref{@value{UGDK-KeyValues}, Key Values} section of the Gdk Reference Manual for a complete description of both @code{Key Values} and @code{Groups}. @subheading Procedures @c Note: in this section, the @var{event} argument is [must be] a pointer to @c a @code{GdkEvent}. @anchor{gdk-keyval-name} @deffn Procedure gdk-keyval-name keyval Returns a symbol or #f. Obtains and returns the symbol name for @var{keyval}. If @var{keyval} is not a valid key, it returns #f. @end deffn @c @subheading Types and Values