Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Inti::Gdk::DisplayManager Class Reference

A GdkDisplayManager C++ wrapper class. More...

#include <inti/gdk/displaymanager.h>

Inheritance diagram for Inti::Gdk::DisplayManager:

Inti::G::Object Inti::G::TypeInstance Inti::MemoryHandler Inti::ReferencedBase List of all members.

Public Member Functions

Constructors
Accessors
Methods
Property Proxies
Signal Proxies

Static Public Member Functions

Protected Member Functions

Constructors
Signal Handlers

Detailed Description

A GdkDisplayManager C++ wrapper class.

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


Constructor & Destructor Documentation

Inti::Gdk::DisplayManager::DisplayManager GdkDisplayManager *  display_manager,
bool  reference = true
[explicit, protected]
 

Construct a new DisplayManager from an existing GdkDisplayManager.

Parameters:
display_manager A pointer to a GdkDisplayManager.
reference Set false if the initial reference count is floating, set true if it's not.

The display_manager can be a newly created GdkDisplayManager or an existing GdkDisplayManager. (see G::Object::Object).


Member Function Documentation

Display* Inti::Gdk::DisplayManager::get_default_display  )  const
 

Gets the default Display.

Returns:
A Display, or null if there is no default display.

bool Inti::Gdk::DisplayManager::list_displays std::vector< Display * > &  displays  )  const
 

List all currently open displays.

Parameters:
displays A reference to a vector of Display* to hold the list of opened displays.
Returns:
true if the vector is not empty.

virtual void Inti::Gdk::DisplayManager::on_display_opened Display display  )  [protected, virtual]
 

Called when a display is opened.

Parameters:
display The Display being opened.

void Inti::Gdk::DisplayManager::set_default_display const Display display  ) 
 

Sets display as the default display.

Parameters:
display A Display.


The documentation for this class was generated from the following file: Main Page - Footer


Generated on Sun Sep 14 20:08:10 2003 for Inti by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002