#include <uwin.hpp>
Inheritance diagram for ubit::UDialog:
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 UStyle * | createStyle () |
< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!). | |
Friends | |
UDialog & | udialog (const UArgs &a=UArgs::none) |
create a new Dialog Window. |
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.
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.
Reimplemented from ubit::UWin.
Reimplemented in ubit::UFrame.