Crear  Editar  FrontPage  Indexes  Buscar  Cambios  History  RSS  Login

Gdk::DisplayManager

class Gdk::DisplayManager

The purpose of the Gdk::DisplayManager singleton object is to offer notification when displays appear or disappear or the default display changes.

Class Methods

Gdk::DisplayManager.get
Returns the global Gdk::DisplayManager singleton. You need to call Gdk.init first. Since 2.2

Instance Methods

default_display
Gets the default GdkDisplay. Since 2.2
  • Returns: a Gdk::Display, or nil if there is no default display.
default_display=(display)
Sets display as the default display. Since 2.2
set_default_display(display)
Same as Gdk::DisplayManager#default_display=. Since 2.2
displays
Returns an Adday of all currently open displays. Since 2.2

Properties

default-display: Gdk::Display (Read/Write)
The default display for GDK Since 2.2

Signals

display-opened: self, display
The ::display_opened signal is emitted when a display is opened. Since 2.2

ChangeLog

  • 2005-05-07 Added. - Masao?
Ultimas actualizaciones:2011/06/24 19:48:34
Clave:
Referencias:[Gdk::DisplayManager]