Gtk2::Gdk::Display(3) User Contributed Perl Documentation Gtk2::Gdk::Display(3)

Gtk2::Gdk::Display - wrapper for GdkDisplay

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

$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

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

Since: gtk+ 2.4

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

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

Since: gtk+ 2.8

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

  • $screen (Gtk2::Gdk::Screen)
  • $x (integer)
  • $y (integer)

Since: gtk+ 2.8

Gtk2, Glib::Object

Copyright (C) 2003-2011 by the gtk2-perl team.

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

2022-05-29 perl v5.36.0