Graphics.UI.Gtk.Gdk.DisplayManager

gtk3-0.14.6: Binding to the Gtk+ 3 graphical user interface library

Maintainer | gtk2hs-users@lists.sourceforge.net
Stability | provisional
Portability | portable (depends on GHC)
Safe Haskell | None
Language | Haskell98

Graphics.UI.Gtk.Gdk.DisplayManager

Contents

- Detail
- Class Hierarchy
- Types
- Methods
- Attributes
- Signals

Description

Maintains a list of all open GdkDisplays

- Module available since Gdk version 2.2

Synopsis

- data DisplayManager
- class GObjectClass o => DisplayManagerClass o
- castToDisplayManager :: GObjectClass obj => obj -> DisplayManager
- toDisplayManager :: DisplayManagerClass o => o -> DisplayManager
- displayManagerGet :: IO DisplayManager
- displayManagerListDisplays :: DisplayManagerClass self => self -> IO [Display]
- displayManagerDefaultDisplay :: DisplayManagerClass self => Attr self Display
- displayManagerOpened :: DisplayManagerClass self => Signal self (Display -> IO ())

# Detail

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

# Class Hierarchy

    | GObject
    | +----DisplayManager

# Types

data DisplayManager #

Instances

Eq DisplayManager # |
Methods (==) :: DisplayManager -> DisplayManager -> Bool # (/=) :: DisplayManager -> DisplayManager -> Bool #
Ord DisplayManager # |
Methods compare :: DisplayManager -> DisplayManager -> Ordering # (<) :: DisplayManager -> DisplayManager -> Bool # (<=) :: DisplayManager -> DisplayManager -> Bool # (>) :: DisplayManager -> DisplayManager -> Bool # (>=) :: DisplayManager -> DisplayManager -> Bool # max :: DisplayManager -> DisplayManager -> DisplayManager # min :: DisplayManager -> DisplayManager -> DisplayManager #
GObjectClass DisplayManager # |
Methods toGObject :: DisplayManager -> GObject # unsafeCastGObject :: GObject -> DisplayManager #
DisplayManagerClass DisplayManager # |

class GObjectClass o => DisplayManagerClass o #

Instances

DisplayManagerClass DisplayManager # |

castToDisplayManager :: GObjectClass obj => obj -> DisplayManager #

toDisplayManager :: DisplayManagerClass o => o -> DisplayManager #

# Methods

displayManagerGet #

Arguments

:: IO DisplayManager | returns the singleton `DisplayManager` object.

Returns the global `DisplayManager` singleton; `parsePargs`, `init`, or `initCheck` must have been called first.

displayManagerListDisplays #

Arguments

:: DisplayManagerClass self |
=> self |
-> IO [Display] | returns a newly allocated list of `Display` objects.

List all currently open displays.

# Attributes

displayManagerDefaultDisplay :: DisplayManagerClass self => Attr self Display #

The default display.

# Signals

displayManagerOpened :: DisplayManagerClass self => Signal self (Display -> IO ()) #

The `displayManagerOpened` signal is emitted when a display is opened.