#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 |
returns the contextual UStyle of this object. | |
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. | |
Static Public Member Functions | |
static const UStyle & | makeStyle () |
creates the Style of this object. | |
Static Public Attributes | |
static UStyle * | style = null |
corresponding Ubit UStyle | |
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. |
|
returns the contextual UStyle of this object. This virtual function calls the makeStyle() static function that was redefined for this specific class
Reimplemented from UDialog. |
|
creates the Style of this object. This static function is redefined by each class that derives from UGroup. It is called by the virtual function UGroup::getStyle()
Reimplemented from UDialog. |
|
[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. |