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

UDialog Class Reference

UDialog: dialog box. More...

#include <uwin.hpp>

Inheritance diagram for UDialog:

UWin UBox UGroup UFrame List of all members.

Public Member Functions

 UDialog (const UArgs &=UArgs::none)
 constructor; see also ~UGroup and the creator shortcut udialog()
virtual void show (bool state, UDisp *)
virtual void show (bool state=true)
 shows the object if argument is true; hides it if false.
virtual bool realize ()
 [impl.
virtual const UStylegetStyle (UContext *) const
 returns the contextual UStyle of this object

Static Public Member Functions

static const UStylemakeStyle ()
 creates the Style of this object.

Static Public Attributes

static UStylestyle = null
 corresponding Ubit UStyle

Friends

UDialogudialog (const UArgs &a=UArgs::none)
 creator shortcut that is equivalent to: *new UDialog()

Detailed Description

UDialog: dialog box.

see class UWin for important info. (most methods being inherited from this class).

Iconification and window stack

Implicit hehaviors:


Member Function Documentation

virtual const UStyle& UDialog::getStyle UContext *   )  const [virtual]
 

returns the contextual UStyle of this object

This virtual function calls the makeStyle() static function that was redefined for this specific class

Reimplemented from UWin.

Reimplemented in UFrame.

const UStyle & UDialog::makeStyle  )  [static]
 

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

Reimplemented in UFrame.

bool UDialog::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)

Implements UWin.

Reimplemented in UFrame.

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

shows the object if argument is true; hides it if false.

see also: hide(), isShown(), isShowable()

Reimplemented from UWin.


The documentation for this class was generated from the following files:
Generated on Thu May 19 12:40:32 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.2