ubit::UDialog Class Reference

UDialog: (non iconifiable) dialog box. More...

#include <uwin.hpp>

Inheritance diagram for ubit::UDialog:

ubit::UWin ubit::UBox ubit::UGroup ubit::UControl ubit::UBrick ubit::UObject ubit::UFrame List of all members.

Public Member Functions

 UDialog (const UArgs &=UArgs::none)
virtual void show (bool state, UDisp *)
virtual void show (bool state=true)
 shows/hides the window.
virtual bool realize ()
 [impl] initializes the window and its children.

Static Public Member Functions

static UStylecreateStyle ()
 < important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!).

Friends

UDialogudialog (const UArgs &a=UArgs::none)
 create a new Dialog Window.

Detailed Description

UDialog: (non iconifiable) dialog box.

Dialogs can't be iconified and are always located on the top of the main frame (NB: this behavior is not enforced by some window managers). Dialogs are hidden when the Main Frame is iconified (see UFrame)

See class UWin for inherited methods and other important remarks.


Member Function Documentation

UStyle * ubit::UDialog::createStyle (  )  [static]

< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!).

this macro defines the UClass that corresponds to this class and:

Reimplemented from ubit::UWin.

Reimplemented in ubit::UFrame.

bool ubit::UDialog::realize (  )  [virtual]

[impl] initializes the window and its children.

this function called when the window is shown for the first time

Reimplemented from ubit::UWin.

Reimplemented in ubit::UFrame.

virtual void ubit::UDialog::show ( bool  state = true  )  [virtual]

shows/hides the window.

windows are not shown by default; show() must be called to make them visible. Note that the window size will not change after the first call to show(). setSize() or updateSize() must be called to change its size.

See also:
also: showModal() to open a modal window.

Reimplemented from ubit::UWin.

Reimplemented in ubit::UFrame.


The documentation for this class was generated from the following files:
Generated on Mon Jan 29 00:20:57 2007 for Ubit by  doxygen 1.4.7