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
Since: gtk+ 2.2

$event->set_screen ($screen)
Since: gtk+ 2.2

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

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

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

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

$modifiertype = $event->get_state

$modifiertype = $event->state
Get $event's state. Croaks if that event type doesn't have a state.

$event->set_state ($newstate)

$timestamp = $event->get_time

$timestamp = $event->time
Get $event's time. If that event type doesn't have a time, or if $event is undef, returns GDK_CURRENT_TIME, which is 0.

$event->set_time ($newtime)

eventtype = $event->type

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

integer = $event->x_root

integer = $event->y_root

enum Gtk2::Gdk::AxisUse

enum Gtk2::Gdk::EventType

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