Next:
Gtk2::Gdk::Display
Previous:
Gtk2::Gdk::Cursor
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::Gdk::Device



NAME

Gtk2::Gdk::Device

HIERARCHY

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

METHODS

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.

ENUMS AND FLAGS

enum Gtk2::Gdk::AxisUse

enum Gtk2::Gdk::InputMode

enum Gtk2::Gdk::InputSource

flags Gtk2::Gdk::ModifierType

SEE ALSO

Gtk2, Glib::Object

COPYRIGHT

Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:01:32 2009