#include <uwin.hpp>
Inheritance diagram for UFrame:
Public Member Functions | |
UFrame (const UArgs &a=UArgs::none) | |
constructor; see also ~UGroup and the creator shortcut uframe() | |
virtual const UStyle & | getStyle (UContext *) const |
virtual void | close (int status) |
closes this window and quits the application if this window is the main frame | |
bool | isMainFrame () const |
is this frame the "main frame"? (see: UAppli) | |
virtual bool | realize () |
[impl.] initializes the window and its children | |
Static Public Member Functions | |
static const UStyle & | makeStyle () |
Static Public Attributes | |
static UStyle * | style = null |
Friends | |
class | UAppli |
UFrame & | uframe (const UArgs &a=UArgs::none) |
creator shortcut that is equivalent to: *new UFrame() |
see class UWin for important info. (most methods being inherited from this class).
the "Main Frame" is the first UFrame that is added to the UAppli other UFrame(s) are considered as "primary windows"
Iconification and window stack
Implicit hehaviors:
|
closes this window and quits the application if this window is the main frame the main frame is the first UFrame that was added to the UAppli. see: UWin::close(), UAppli::quit(), UFrame::isMainFrame() Reimplemented from UWin. |
|
[impl.] initializes the window and its children creates the associated graphics context and native window if this is a "hard window". this fct. is automatically called when the window is shown for the first time (so that unused windows won't consume unnecessary resources) Reimplemented from UDialog. |