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

FX::FXGroupBox Class Reference

A group box widget provides a nice raised or sunken border around a group of widgets, providing a visual delineation. More...

#include <FXGroupBox.h>

Inheritance diagram for FX::FXGroupBox:

FX::FXPacker FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Member Functions

 FXGroupBox (FXComposite *p, const FXString &text, FXuint opts=GROUPBOX_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_SPACING, FXint pr=DEFAULT_SPACING, FXint pt=DEFAULT_SPACING, FXint pb=DEFAULT_SPACING, FXint hs=DEFAULT_SPACING, FXint vs=DEFAULT_SPACING)
virtual void create ()
virtual void detach ()
virtual void layout ()
virtual void enable ()
virtual void disable ()
virtual FXint getDefaultWidth ()
virtual FXint getDefaultHeight ()
void setText (const FXString &text)
FXString getText () const
void setGroupBoxStyle (FXuint style)
FXuint getGroupBoxStyle () const
void setFont (FXFont *fnt)
FXFontgetFont () const
void setTextColor (FXColor clr)
FXColor getTextColor () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)

Detailed Description

A group box widget provides a nice raised or sunken border around a group of widgets, providing a visual delineation.

Typically, a title is placed over the border to provide some clarification.

See also:


Constructor & Destructor Documentation

FX::FXGroupBox::FXGroupBox FXComposite p,
const FXString text,
FXuint  opts = GROUPBOX_NORMAL,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0,
FXint  pl = DEFAULT_SPACING,
FXint  pr = DEFAULT_SPACING,
FXint  pt = DEFAULT_SPACING,
FXint  pb = DEFAULT_SPACING,
FXint  hs = DEFAULT_SPACING,
FXint  vs = DEFAULT_SPACING
 

Construct group box layout manager.


Member Function Documentation

virtual void FX::FXGroupBox::create  )  [virtual]
 

Create server-side resources.

Reimplemented from FX::FXComposite.

virtual void FX::FXGroupBox::detach  )  [virtual]
 

Detach server-side resources.

Reimplemented from FX::FXComposite.

virtual void FX::FXGroupBox::layout  )  [virtual]
 

Perform layout.

Reimplemented from FX::FXPacker.

virtual void FX::FXGroupBox::enable  )  [virtual]
 

Enable the window.

Reimplemented from FX::FXWindow.

virtual void FX::FXGroupBox::disable  )  [virtual]
 

Disable the window.

Reimplemented from FX::FXWindow.

virtual FXint FX::FXGroupBox::getDefaultWidth  )  [virtual]
 

Return default width.

Reimplemented from FX::FXPacker.

virtual FXint FX::FXGroupBox::getDefaultHeight  )  [virtual]
 

Return default height.

Reimplemented from FX::FXPacker.

void FX::FXGroupBox::setText const FXString text  ) 
 

Change group box title text.

FXString FX::FXGroupBox::getText  )  const [inline]
 

Return current groupbox title text.

void FX::FXGroupBox::setGroupBoxStyle FXuint  style  ) 
 

Change group box style.

FXuint FX::FXGroupBox::getGroupBoxStyle  )  const
 

Return current group box style.

void FX::FXGroupBox::setFont FXFont fnt  ) 
 

Change title font.

FXFont* FX::FXGroupBox::getFont  )  const [inline]
 

Return title font.

void FX::FXGroupBox::setTextColor FXColor  clr  ) 
 

Change title text color.

FXColor FX::FXGroupBox::getTextColor  )  const [inline]
 

Return text color.

virtual void FX::FXGroupBox::save FXStream store  )  const [virtual]
 

Save to a stream.

Reimplemented from FX::FXPacker.

virtual void FX::FXGroupBox::load FXStream store  )  [virtual]
 

Load from a stream.

Reimplemented from FX::FXPacker.

Copyright © 1997-2005 Jeroen van der Zijp