Gtk2::Gdk::Display.3pm

Langue: en

Version: 2009-03-13 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Gtk2::Gdk::Display

HIERARCHY

   Glib::Object
   +----Gtk2::Gdk::Display
 
 

METHODS


$display->beep


$display->beep


$display->close


$display->close


device = $display->get_core_pointer


device = $display->get_core_pointer


$display->set_cursor_theme ($theme, $size)


$display->set_cursor_theme ($theme, $size)

$theme (string)
$size (integer)

Since: gtk+ 2.8

integer = $display->get_default_cursor_size


integer = $display->get_default_cursor_size

Since: gtk+ 2.4

display or undef = Gtk2::Gdk::Display->get_default


window = $display->get_default_group


window = $display->get_default_group

Since: gtk+ 2.4

screen = $display->get_default_screen


screen = $display->get_default_screen


$display->set_double_click_distance ($distance)


$display->set_double_click_distance ($distance)

$distance (integer)

Since: gtk+ 2.4

$display->set_double_click_time ($msec)


$display->set_double_click_time ($msec)

$msec (integer)

event = $display->get_event


event = $display->get_event


$display->flush


$display->flush

Since: gtk+ 2.4

$display->grab


$display->grab


$display->keyboard_ungrab ($time_)


$display->keyboard_ungrab ($time_)

$time_ (unsigned)

list = $display->list_devices


list = $display->list_devices

Returns a list of Gtk2::Gdk::Devices

(width, height) = $display->get_maximal_cursor_size


(width, height) = $display->get_maximal_cursor_size

Since: gtk+ 2.4

integer = $display->get_n_screens


integer = $display->get_n_screens


string = $display->get_name


string = $display->get_name


display or undef = Gtk2::Gdk::Display->open ($display_name)

$display_name (string or undef)

event = $display->peek_event


event = $display->peek_event


list = $display->get_pointer


list = $display->get_pointer


boolean = $display->pointer_is_grabbed


boolean = $display->pointer_is_grabbed


$display->pointer_ungrab ($time_)


$display->pointer_ungrab ($time_)

$time_ (unsigned)

$display->put_event ($event)


$display->put_event ($event)

$event (Gtk2::Gdk::Event)

$display->register_standard_event_type ($event_base, $n_events)


$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)


boolean = $display->request_selection_notification ($selection)

$selection (Gtk2::Gdk::Atom)

Since: gtk+ 2.6

screen = $display->get_screen ($screen_num)


screen = $display->get_screen ($screen_num)

$screen_num (integer)

string = $display->get_startup_notification_id


string = $display->get_startup_notification_id

Since: gtk+ 2.12

$display->store_clipboard ($clipboard_window, $time_, ...)


$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


boolean = $display->supports_clipboard_persistence

Since: gtk+ 2.6

boolean = $display->supports_composite


boolean = $display->supports_composite

Since: gtk+ 2.12

boolean = $display->supports_cursor_alpha


boolean = $display->supports_cursor_alpha

Since: gtk+ 2.4

boolean = $display->supports_cursor_color


boolean = $display->supports_cursor_color

Since: gtk+ 2.4

boolean = $display->supports_input_shapes


boolean = $display->supports_input_shapes

Since: gtk+ 2.10

boolean = $display->supports_selection_notification


boolean = $display->supports_selection_notification

Since: gtk+ 2.6

boolean = $display->supports_shapes


boolean = $display->supports_shapes

Since: gtk+ 2.10

$display->sync


$display->sync


$display->ungrab


$display->ungrab


unsigned = $display->get_user_time


unsigned = $display->get_user_time

Since: gtk+ 2.8

$display->warp_pointer ($screen, $x, $y)


$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)


(window, win_x, win_y) = $display->get_window_at_pointer ($display)

SIGNALS

closed (Gtk2::Gdk::Display, boolean)

SEE ALSO

Gtk2, Glib::Object Copyright (C) 2003-2008 by the gtk2-perl team.

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