#include <XWindows.h>
Inheritance diagram for prapi::XDisplay:

Public Methods | |
| XDisplay () throw (XException&) | |
| Open the default X display. | |
| XDisplay (std::string name) throw (XException&) | |
| Open an X display with the given name. | |
| XDisplay (const XDisplay &other) | |
| The copy constructor. | |
| void | close () |
| Close the connection to an X server. | |
| XDisplay & | operator= (const XDisplay &other) |
| Assignment operator. | |
| operator Display * () | |
| Typecast this class to a Display pointer. | |
| operator const Display * () const | |
| Typecast this class to a Display pointer (const version). | |
|
|
Open the default X display. If the display cannot be opened, an exception is thrown. |
|
|
Open an X display with the given name. The format of the name is hostname:number.screen_number. If the display cannot be opened, an exception is thrown. |
|
|
Typecast this class to a Display pointer. This allows the use of the class in the place of the Display structure. |