Gtk2::Gdk::Device Glib::Object +----Gtk2::Gdk::Device

list = $device->axes
Returns 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, ...)

$device->set_axis_use ($index_, $use)

device = Gtk2::Gdk::Device->get_core_pointer

boolean = $device->has_cursor

list = $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".

$device->set_key ($index_, $keyval, $modifiers)

list = $device->keys
Returns a list of hash references that resemble the GdkDeviceKey structure, i.e. that have two keys: "keyval" and "modifiers".

inputmode = $device->mode

boolean = $device->set_mode ($mode)

string = $device->name

inputsource = $device->source

$device->set_source ($source)

list = $device->get_state ($window)
Returns the modifier mask and a list of values of the axes.

enum Gtk2::Gdk::AxisUse

enum Gtk2::Gdk::InputMode

enum Gtk2::Gdk::InputSource

flags Gtk2::Gdk::ModifierType
Gtk2, Glib::Object Copyright (C) 2003-2005 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.