Gtk2::Gdk::Event Glib::Boxed +----Gtk2::Gdk::Event

event = Gtk2::Gdk::Event->new ($type)

double = $event->axis ($axis_use)

double = $event->get_axis ($axis_use)

($x, $y) = $event->coords

($x, $y) = $event->get_coords

event = $event->copy

event or undef = Gtk2::Gdk::Event->get

event or undef = Gtk2::Gdk::Event->get_graphics_expose ($window)

Gtk2::Gdk::Event->handler_set ($func, $data=undef)
Set the function that handles all events from GDK. GTK+ uses this to dispatch events, and as such this is rarely of use to applications, unless you are implementing completely custom event dispatching (unlikely) or preprocess events somehow and then pass them on to "Gtk2::main_do_event". As a special case, if func is undef, we "reset" the handler by passing the actual C function gtk_main_do_event to GDK, to bypass the Perl marshaling (and take things back up to full speed).

event or undef = Gtk2::Gdk::Event->peek

Gtk2::Gdk::Event->put ($event)

($x_root, $y_root) = $event->root_coords

($x_root, $y_root) = $event->get_root_coords

screen = $event->get_screen

$event->set_screen ($screen)

boolean = Gtk2::Gdk::Event->send_client_message ($event, $winid)

boolean = Gtk2::Gdk::Event->send_client_message_for_display ($display, $event, $winid)

Gtk2::Gdk::Event->send_clientmessage_toall ($event)

integer = $event->send_event ($newvalue=0)

modifiertype = $event->state (...)

modifiertype = $event->get_state (...)

modifiertype = $event->set_state (...)

integer = $event->time (...)

integer = $event->get_time (...)

integer = $event->set_time (...)

eventtype = $event->type

window or undef = $event->window ($newvalue=undef)

integer = $event->x_root

integer = $event->y_root

enum Gtk2::Gdk::EventType

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