.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::Accelerator 3pm" .TH Gtk2::Accelerator 3pm "2019-09-16" "perl v5.28.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Gtk2::Accelerator .SH "METHODS" .IX Header "METHODS" .SS "modifiertype = Gtk2::Accelerator\->\fBget_default_mod_mask\fP" .IX Subsection "modifiertype = Gtk2::Accelerator->get_default_mod_mask" .SS "Gtk2::Accelerator\->\fBset_default_mod_mask\fP ($default_mod_mask)" .IX Subsection "Gtk2::Accelerator->set_default_mod_mask ($default_mod_mask)" .IP "\(bu" 4 \&\f(CW$default_mod_mask\fR (Gtk2::Gdk::ModifierType) .ie n .SS "string = Gtk2::Accelerator\->\fBget_label\fP ($accelerator_key, $accelerator_mods)" .el .SS "string = Gtk2::Accelerator\->\fBget_label\fP ($accelerator_key, \f(CW$accelerator_mods\fP)" .IX Subsection "string = Gtk2::Accelerator->get_label ($accelerator_key, $accelerator_mods)" .IP "\(bu" 4 \&\f(CW$accelerator_key\fR (integer) .IP "\(bu" 4 \&\f(CW$accelerator_mods\fR (Gtk2::Gdk::ModifierType) .PP Since: gtk+ 2.6 .ie n .SS "string = Gtk2::Accelerator\->\fBname\fP ($accelerator_key, $accelerator_mods)" .el .SS "string = Gtk2::Accelerator\->\fBname\fP ($accelerator_key, \f(CW$accelerator_mods\fP)" .IX Subsection "string = Gtk2::Accelerator->name ($accelerator_key, $accelerator_mods)" .IP "\(bu" 4 \&\f(CW$accelerator_key\fR (integer) .IP "\(bu" 4 \&\f(CW$accelerator_mods\fR (Gtk2::Gdk::ModifierType) .SS "(accelerator_key, accelerator_mods) = Gtk2::Accelerator\->\fBparse\fP ($accelerator)" .IX Subsection "(accelerator_key, accelerator_mods) = Gtk2::Accelerator->parse ($accelerator)" .IP "\(bu" 4 \&\f(CW$accelerator\fR (string) .PP Returns accelerator_key, an unsigned integer and accelerator_mods, a Gtk2::Gdk::ModifierType. .ie n .SS "boolean = Gtk2::Accelerator\->\fBvalid\fP ($keyval, $modifiers)" .el .SS "boolean = Gtk2::Accelerator\->\fBvalid\fP ($keyval, \f(CW$modifiers\fP)" .IX Subsection "boolean = Gtk2::Accelerator->valid ($keyval, $modifiers)" .IP "\(bu" 4 \&\f(CW$keyval\fR (integer) .IP "\(bu" 4 \&\f(CW$modifiers\fR (Gtk2::Gdk::ModifierType) .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "flags Gtk2::Gdk::ModifierType" .IX Subsection "flags Gtk2::Gdk::ModifierType" .IP "\(bu" 4 \&'shift\-mask' / '\s-1GDK_SHIFT_MASK\s0' .IP "\(bu" 4 \&'lock\-mask' / '\s-1GDK_LOCK_MASK\s0' .IP "\(bu" 4 \&'control\-mask' / '\s-1GDK_CONTROL_MASK\s0' .IP "\(bu" 4 \&'mod1\-mask' / '\s-1GDK_MOD1_MASK\s0' .IP "\(bu" 4 \&'mod2\-mask' / '\s-1GDK_MOD2_MASK\s0' .IP "\(bu" 4 \&'mod3\-mask' / '\s-1GDK_MOD3_MASK\s0' .IP "\(bu" 4 \&'mod4\-mask' / '\s-1GDK_MOD4_MASK\s0' .IP "\(bu" 4 \&'mod5\-mask' / '\s-1GDK_MOD5_MASK\s0' .IP "\(bu" 4 \&'button1\-mask' / '\s-1GDK_BUTTON1_MASK\s0' .IP "\(bu" 4 \&'button2\-mask' / '\s-1GDK_BUTTON2_MASK\s0' .IP "\(bu" 4 \&'button3\-mask' / '\s-1GDK_BUTTON3_MASK\s0' .IP "\(bu" 4 \&'button4\-mask' / '\s-1GDK_BUTTON4_MASK\s0' .IP "\(bu" 4 \&'button5\-mask' / '\s-1GDK_BUTTON5_MASK\s0' .IP "\(bu" 4 \&'super\-mask' / '\s-1GDK_SUPER_MASK\s0' .IP "\(bu" 4 \&'hyper\-mask' / '\s-1GDK_HYPER_MASK\s0' .IP "\(bu" 4 \&'meta\-mask' / '\s-1GDK_META_MASK\s0' .IP "\(bu" 4 \&'release\-mask' / '\s-1GDK_RELEASE_MASK\s0' .IP "\(bu" 4 \&'modifier\-mask' / '\s-1GDK_MODIFIER_MASK\s0' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2 .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the \s-1LGPL.\s0 See Gtk2 for a full notice.