Gtk2::Gdk::Display

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::Gdk::Display  

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

 

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

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)
 

$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_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-2008 by the gtk2-perl team.

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


 

Index

NAME
HIERARCHY
METHODS
$display->beep
$display->close
device = $display->get_core_pointer
$display->set_cursor_theme ($theme, $size)
integer = $display->get_default_cursor_size
display or undef = Gtk2::Gdk::Display->get_default
window = $display->get_default_group
screen = $display->get_default_screen
$display->set_double_click_distance ($distance)
$display->set_double_click_time ($msec)
event = $display->get_event
$display->flush
$display->grab
$display->keyboard_ungrab ($time_)
list = $display->list_devices
(width, height) = $display->get_maximal_cursor_size
integer = $display->get_n_screens
string = $display->get_name
display or undef = Gtk2::Gdk::Display->open ($display_name)
event = $display->peek_event
list = $display->get_pointer
boolean = $display->pointer_is_grabbed
$display->pointer_ungrab ($time_)
$display->put_event ($event)
$display->register_standard_event_type ($event_base, $n_events)
boolean = $display->request_selection_notification ($selection)
screen = $display->get_screen ($screen_num)
$display->store_clipboard ($clipboard_window, $time_, ...)
boolean = $display->supports_clipboard_persistence
boolean = $display->supports_cursor_alpha
boolean = $display->supports_cursor_color
boolean = $display->supports_input_shapes
boolean = $display->supports_selection_notification
boolean = $display->supports_shapes
$display->sync
$display->ungrab
unsigned = $display->get_user_time
$display->warp_pointer ($screen, $x, $y)
(window, win_x, win_y) = $display->get_window_at_pointer ($display)
SIGNALS
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages