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:

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.

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.

a <gdk-display-manager>
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

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

Since 2.2