|
NAMEGtk2::Gdk::Device - wrapper for GdkDeviceHIERARCHYGlib::Object +----Gtk2::Gdk::Device METHODSlist = $device->axesReturns a list of hash references that resemble the GdkDeviceAxis structure, i.e. that have three keys: "use", "min", and "max".double = $device->get_axis ($use, ...)
axisuse = $device->get_axis_use ($index)
Since: gtk+ 2.22 $device->set_axis_use ($index_, $use)
device = Gtk2::Gdk::Device->get_core_pointerboolean = $device->has_cursorlist = $device->get_history ($window, $start, $stop)
Returns a list of hash references that resemble the GdkTimeCoord structure, i.e. that have two keys: "time" and "axes". (keyval, modifiers) = $device->get_key ($index)
Since: gtk+ 2.22 $device->set_key ($index_, $keyval, $modifiers)
list = $device->keysReturns a list of hash references that resemble the GdkDeviceKey structure, i.e. that have two keys: "keyval" and "modifiers".inputmode = $device->modeinputmode = $device->get_modeSince: gtk+ 2.22boolean = $device->set_mode ($mode)
integer = $device->get_n_axesSince: gtk+ 2.22string = $device->namestring = $device->get_nameSince: gtk+ 2.22inputsource = $device->sourceinputsource = $device->get_sourceSince: gtk+ 2.22$device->set_source ($source)
list = $device->get_state ($window)
Returns the modifier mask and a list of values of the axes. ENUMS AND FLAGSenum Gtk2::Gdk::AxisUse
enum Gtk2::Gdk::InputMode
enum Gtk2::Gdk::InputSource
flags Gtk2::Gdk::ModifierType
SEE ALSOGtk2, Glib::ObjectCOPYRIGHTCopyright (C) 2003-2011 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Visit the GSP FreeBSD Man Page Interface. |