GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

GFC::Gdk::DisplayManager Class Reference

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

#include <gfc/gdk/displaymanager.hh>

Inheritance diagram for GFC::Gdk::DisplayManager:

GFC::G::Object GFC::G::TypeInstance GFC::Trackable List of all members.

Signal Prototypes

Public Member Functions

Constructors
Accessors
Methods
Signal Proxies

Static Public Member Functions

Protected Member Functions

Constructors

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

GFC::Gdk::DisplayManager::DisplayManager GdkDisplayManager *  display_manager,
bool  owns_reference = true
[explicit, protected]
 

Construct a new DisplayManager from an existing GdkDisplayManager.

Parameters:
display_manager A pointer to a GdkDisplayManager.
owns_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* GFC::Gdk::DisplayManager::get_default_display  )  const
 

Gets the default Display.

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

bool GFC::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.

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

Sets display as the default display.

Parameters:
display A Display.


Member Data Documentation

const DisplayOpenedSignalType GFC::Gdk::DisplayManager::display_opened_signal [static, protected]
 

Display opened signal (see sig_display_opened()).

Calls a slot with the signature:

             void function(Display& display);
             // display: The Display being opened.


The documentation for this class was generated from the following file:
Generated on Tue Aug 24 00:34:35 2004 for GFC-UI by doxygen 1.3.8