Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BDialog Class Reference

#include <BDialog.h>

Inheritance diagram for BDialog:

Inheritance graph
[legend]
Collaboration diagram for BDialog:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class for on-screen dialogs.

You can cause a dialog to appear by calling its run() method and make it go away by calling stop().

Don't use this class directly. Use some subclass of it.


Public Member Functions

 BDialog (BScreen *screen, const BSize &size)
 Construct a new dialog on the given screen.

virtual ~BDialog ()
void center ()
 Center the dialog on its screen.

virtual void run ()
 Run the dialog (starts a new run loop).

virtual void stop ()
 Stop the dialog, which must be running.


Protected Attributes

BRunLoop_loop


Constructor & Destructor Documentation

BDialog::BDialog BScreen   screen,
const BSize   size
 

Construct a new dialog on the given screen.

virtual BDialog::~BDialog   [virtual]
 


Member Function Documentation

void BDialog::center  
 

Center the dialog on its screen.

virtual void BDialog::run   [virtual]
 

Run the dialog (starts a new run loop).

Reimplemented in BFileSelector, BMenu, and BMessagebox.

virtual void BDialog::stop   [virtual]
 

Stop the dialog, which must be running.


Member Data Documentation

BRunLoop* BDialog::_loop [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Dec 29 10:00:15 2007 for DSGUI by doxygen1.3-rc3