Provided by: libgtk2-perl-doc_1.24992-1build1_all
NAME
Gtk2::Gdk::Display - wrapper for GdkDisplay
HIERARCHY
Glib::Object +----Gtk2::Gdk::Display
METHODS
$display->beep $display->close device = $display->get_core_pointer $display->set_cursor_theme ($theme, $size) • $theme (string) • $size (integer) Since: gtk+ 2.8 integer = $display->get_default_cursor_size Since: gtk+ 2.4 display or undef = Gtk2::Gdk::Display->get_default window = $display->get_default_group Since: gtk+ 2.4 screen = $display->get_default_screen $display->set_double_click_distance ($distance) • $distance (integer) Since: gtk+ 2.4 $display->set_double_click_time ($msec) • $msec (integer) event = $display->get_event $display->flush Since: gtk+ 2.4 $display->grab boolean = $display->is_closed Since: gtk+ 2.22 $display->keyboard_ungrab ($time_) • $time_ (unsigned) list = $display->list_devices Returns a list of Gtk2::Gdk::Devices (width, height) = $display->get_maximal_cursor_size Since: gtk+ 2.4 integer = $display->get_n_screens string = $display->get_name display or undef = Gtk2::Gdk::Display->open ($display_name) • $display_name (string or undef) event = $display->peek_event list = $display->get_pointer boolean = $display->pointer_is_grabbed $display->pointer_ungrab ($time_) • $time_ (unsigned) $display->put_event ($event) • $event (Gtk2::Gdk::Event) $display->register_standard_event_type ($event_base, $n_events) • $event_base (integer) • $n_events (integer) Since: gtk+ 2.4 boolean = $display->request_selection_notification ($selection) • $selection (Gtk2::Gdk::Atom) Since: gtk+ 2.6 screen = $display->get_screen ($screen_num) • $screen_num (integer) string = $display->get_startup_notification_id Since: gtk+ 2.12 $display->store_clipboard ($clipboard_window, $time_, ...) • $clipboard_window (Gtk2::Gdk::Window) • $time_ (unsigned) • ... (list) of Gtk2::Gdk::Atom's Since: gtk+ 2.6 boolean = $display->supports_clipboard_persistence Since: gtk+ 2.6 boolean = $display->supports_composite Since: gtk+ 2.12 boolean = $display->supports_cursor_alpha Since: gtk+ 2.4 boolean = $display->supports_cursor_color Since: gtk+ 2.4 boolean = $display->supports_input_shapes Since: gtk+ 2.10 boolean = $display->supports_selection_notification Since: gtk+ 2.6 boolean = $display->supports_shapes Since: gtk+ 2.10 $display->sync $display->ungrab unsigned = $display->get_user_time Since: gtk+ 2.8 $display->warp_pointer ($screen, $x, $y) • $screen (Gtk2::Gdk::Screen) • $x (integer) • $y (integer) Since: gtk+ 2.8 (window, win_x, win_y) = $display->get_window_at_pointer ($display)
SIGNALS
closed (Gtk2::Gdk::Display, boolean)
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.