.\" 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::Gdk::Device 3pm" .TH Gtk2::Gdk::Device 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::Gdk::Device \- wrapper for GdkDevice .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 2 \& Glib::Object \& +\-\-\-\-Gtk2::Gdk::Device .Ve .SH "METHODS" .IX Header "METHODS" .ie n .SS "list = $device\->\fBaxes\fP" .el .SS "list = \f(CW$device\fP\->\fBaxes\fP" .IX Subsection "list = $device->axes" Returns a list of hash references that resemble the \fIGdkDeviceAxis\fR structure, i.e. that have three keys: \*(L"use\*(R", \*(L"min\*(R", and \*(L"max\*(R". .ie n .SS "double = $device\->\fBget_axis\fP ($use, ...)" .el .SS "double = \f(CW$device\fP\->\fBget_axis\fP ($use, ...)" .IX Subsection "double = $device->get_axis ($use, ...)" .IP "\(bu" 4 \&\f(CW$use\fR (Gtk2::Gdk::AxisUse) .IP "\(bu" 4 \&... (list) of axis values such as the one returned by get_state .ie n .SS "axisuse = $device\->\fBget_axis_use\fP ($index)" .el .SS "axisuse = \f(CW$device\fP\->\fBget_axis_use\fP ($index)" .IX Subsection "axisuse = $device->get_axis_use ($index)" .IP "\(bu" 4 \&\f(CW$index\fR (integer) .PP Since: gtk+ 2.22 .ie n .SS "$device\->\fBset_axis_use\fP ($index_, $use)" .el .SS "\f(CW$device\fP\->\fBset_axis_use\fP ($index_, \f(CW$use\fP)" .IX Subsection "$device->set_axis_use ($index_, $use)" .IP "\(bu" 4 \&\f(CW$index_\fR (integer) .IP "\(bu" 4 \&\f(CW$use\fR (Gtk2::Gdk::AxisUse) .SS "device = Gtk2::Gdk::Device\->\fBget_core_pointer\fP" .IX Subsection "device = Gtk2::Gdk::Device->get_core_pointer" .ie n .SS "boolean = $device\->\fBhas_cursor\fP" .el .SS "boolean = \f(CW$device\fP\->\fBhas_cursor\fP" .IX Subsection "boolean = $device->has_cursor" .ie n .SS "list = $device\->\fBget_history\fP ($window, $start, $stop)" .el .SS "list = \f(CW$device\fP\->\fBget_history\fP ($window, \f(CW$start\fP, \f(CW$stop\fP)" .IX Subsection "list = $device->get_history ($window, $start, $stop)" .IP "\(bu" 4 \&\f(CW$window\fR (Gtk2::Gdk::Window) .IP "\(bu" 4 \&\f(CW$start\fR (unsigned) .IP "\(bu" 4 \&\f(CW$stop\fR (unsigned) .PP Returns a list of hash references that resemble the \fIGdkTimeCoord\fR structure, i.e. that have two keys: \*(L"time\*(R" and \*(L"axes\*(R". .ie n .SS "(keyval, modifiers) = $device\->\fBget_key\fP ($index)" .el .SS "(keyval, modifiers) = \f(CW$device\fP\->\fBget_key\fP ($index)" .IX Subsection "(keyval, modifiers) = $device->get_key ($index)" .IP "\(bu" 4 \&\f(CW$index\fR (integer) .PP Since: gtk+ 2.22 .ie n .SS "$device\->\fBset_key\fP ($index_, $keyval, $modifiers)" .el .SS "\f(CW$device\fP\->\fBset_key\fP ($index_, \f(CW$keyval\fP, \f(CW$modifiers\fP)" .IX Subsection "$device->set_key ($index_, $keyval, $modifiers)" .IP "\(bu" 4 \&\f(CW$index_\fR (integer) .IP "\(bu" 4 \&\f(CW$keyval\fR (integer) .IP "\(bu" 4 \&\f(CW$modifiers\fR (Gtk2::Gdk::ModifierType) .ie n .SS "list = $device\->\fBkeys\fP" .el .SS "list = \f(CW$device\fP\->\fBkeys\fP" .IX Subsection "list = $device->keys" Returns a list of hash references that resemble the \fIGdkDeviceKey\fR structure, i.e. that have two keys: \*(L"keyval\*(R" and \*(L"modifiers\*(R". .ie n .SS "inputmode = $device\->\fBmode\fP" .el .SS "inputmode = \f(CW$device\fP\->\fBmode\fP" .IX Subsection "inputmode = $device->mode" .ie n .SS "inputmode = $device\->\fBget_mode\fP" .el .SS "inputmode = \f(CW$device\fP\->\fBget_mode\fP" .IX Subsection "inputmode = $device->get_mode" Since: gtk+ 2.22 .ie n .SS "boolean = $device\->\fBset_mode\fP ($mode)" .el .SS "boolean = \f(CW$device\fP\->\fBset_mode\fP ($mode)" .IX Subsection "boolean = $device->set_mode ($mode)" .IP "\(bu" 4 \&\f(CW$mode\fR (Gtk2::Gdk::InputMode) .ie n .SS "integer = $device\->\fBget_n_axes\fP" .el .SS "integer = \f(CW$device\fP\->\fBget_n_axes\fP" .IX Subsection "integer = $device->get_n_axes" Since: gtk+ 2.22 .ie n .SS "string = $device\->\fBname\fP" .el .SS "string = \f(CW$device\fP\->\fBname\fP" .IX Subsection "string = $device->name" .ie n .SS "string = $device\->\fBget_name\fP" .el .SS "string = \f(CW$device\fP\->\fBget_name\fP" .IX Subsection "string = $device->get_name" Since: gtk+ 2.22 .ie n .SS "inputsource = $device\->\fBsource\fP" .el .SS "inputsource = \f(CW$device\fP\->\fBsource\fP" .IX Subsection "inputsource = $device->source" .ie n .SS "inputsource = $device\->\fBget_source\fP" .el .SS "inputsource = \f(CW$device\fP\->\fBget_source\fP" .IX Subsection "inputsource = $device->get_source" Since: gtk+ 2.22 .ie n .SS "$device\->\fBset_source\fP ($source)" .el .SS "\f(CW$device\fP\->\fBset_source\fP ($source)" .IX Subsection "$device->set_source ($source)" .IP "\(bu" 4 \&\f(CW$source\fR (Gtk2::Gdk::InputSource) .ie n .SS "list = $device\->\fBget_state\fP ($window)" .el .SS "list = \f(CW$device\fP\->\fBget_state\fP ($window)" .IX Subsection "list = $device->get_state ($window)" .IP "\(bu" 4 \&\f(CW$window\fR (Gtk2::Gdk::Window) .PP Returns the modifier mask and a list of values of the axes. .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::Gdk::AxisUse" .IX Subsection "enum Gtk2::Gdk::AxisUse" .IP "\(bu" 4 \&'ignore' / '\s-1GDK_AXIS_IGNORE\s0' .IP "\(bu" 4 \&'x' / '\s-1GDK_AXIS_X\s0' .IP "\(bu" 4 \&'y' / '\s-1GDK_AXIS_Y\s0' .IP "\(bu" 4 \&'pressure' / '\s-1GDK_AXIS_PRESSURE\s0' .IP "\(bu" 4 \&'xtilt' / '\s-1GDK_AXIS_XTILT\s0' .IP "\(bu" 4 \&'ytilt' / '\s-1GDK_AXIS_YTILT\s0' .IP "\(bu" 4 \&'wheel' / '\s-1GDK_AXIS_WHEEL\s0' .IP "\(bu" 4 \&'last' / '\s-1GDK_AXIS_LAST\s0' .SS "enum Gtk2::Gdk::InputMode" .IX Subsection "enum Gtk2::Gdk::InputMode" .IP "\(bu" 4 \&'disabled' / '\s-1GDK_MODE_DISABLED\s0' .IP "\(bu" 4 \&'screen' / '\s-1GDK_MODE_SCREEN\s0' .IP "\(bu" 4 \&'window' / '\s-1GDK_MODE_WINDOW\s0' .SS "enum Gtk2::Gdk::InputSource" .IX Subsection "enum Gtk2::Gdk::InputSource" .IP "\(bu" 4 \&'mouse' / '\s-1GDK_SOURCE_MOUSE\s0' .IP "\(bu" 4 \&'pen' / '\s-1GDK_SOURCE_PEN\s0' .IP "\(bu" 4 \&'eraser' / '\s-1GDK_SOURCE_ERASER\s0' .IP "\(bu" 4 \&'cursor' / '\s-1GDK_SOURCE_CURSOR\s0' .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, Glib::Object .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.