Next: , Previous: GdkDisplay, Up: Top


4 GdkDisplayManager

Maintains a list of all open s

4.1 Overview

The purpose of the <gdk-display-manager> singleton object is to offer notification when displays appear or disappear or the default display changes.

4.2 Usage

— Class: <gdk-display-manager>

Derives from <gobject>.

This class defines the following slots:

default-display
The default display for GDK
— Signal on <gdk-display-manager>: display-opened (arg0 <gdk-display>)

The ::display_opened signal is emitted when a display is opened.

Since 2.2

— Function: gdk-display-manager-get ⇒  (ret <gdk-display-manager>)

Returns the global <gdk-display-manager> singleton; gdk-parse-pargs, gdk-init, or gdk-init-check must have been called first.

ret
the singleton <gdk-display-manager> object.

Since 2.2

— Function: gdk-display-manager-list-displays (self <gdk-display-manager>) ⇒  (ret gslist-of)
— Method: list-displays

List all currently open displays.

display-manager
a <gdk-display-manager>
ret
a newly allocated <gs-list> of <gdk-display> objects. Free this list with g-slist-free when you are done with it.

Since 2.2

— Function: gdk-display-get-core-pointer (self <gdk-display>) ⇒  (ret <gdk-device>)
— Method: get-core-pointer

Returns the core pointer device for the given display

display
a <gdk-display>
ret
the core pointer device; this is owned by the display and should not be freed.

Since 2.2