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

UBar Class Reference

UBar = horizontal Bar (for making toolbars). More...

#include <ubox.hpp>

Inheritance diagram for UBar:

UBox UGroup UMenubar List of all members.

Public Member Functions

 UBar (const UArgs &a=UArgs::none)
 constructor; see also ~UGroup and the creator shortcut ubar()
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

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

Detailed Description

UBar = horizontal Bar (for making toolbars).

This class is similar to UHbox but with a specific ("toolbar like") decoration. Buttons included in this object will also be displayed in a specific way (their border won't appear, etc.)

Geometry: see class UBox for details.

See also: classes UMenu and UMenubar for creating menus and menu bars


Member Function Documentation

virtual const UStyle& UBar::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 UBox.

Reimplemented in UMenubar.

const UStyle & UBar::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 UBox.

Reimplemented in UMenubar.


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