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

UFrame Class Reference

UFrame: main frame and primary main window. More...

#include <uwin.hpp>

Inheritance diagram for UFrame:

UDialog UWin List of all members.

Public Member Functions

 UFrame (const UArgs &a=UArgs::none)
 constructor; see also ~UGroup and the creator shortcut uframe()
virtual const UStylegetStyle (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 UStylemakeStyle ()

Static Public Attributes

static UStylestyle = null

Friends

class UAppli
UFrameuframe (const UArgs &a=UArgs::none)
 creator shortcut that is equivalent to: *new UFrame()

Detailed Description

UFrame: main frame and primary main window.

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:


Member Function Documentation

void UFrame::close int  status  )  [virtual]
 

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.

bool UFrame::realize  )  [virtual]
 

[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.


The documentation for this class was generated from the following files:
Generated on Fri Mar 4 01:34:32 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.1