![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
A group box widget provides a nice raised or sunken border around a group of widgets, providing a visual delineation. More...
#include <FXGroupBox.h>
Public Member Functions | |
| long | onPaint (FXObject *, FXSelector, void *) |
| long | onCmdSetValue (FXObject *, FXSelector, void *) |
| long | onCmdSetStringValue (FXObject *, FXSelector, void *) |
| long | onCmdGetStringValue (FXObject *, FXSelector, void *) |
| 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. | |
| virtual void | create () |
| Create server-side resources. | |
| virtual void | detach () |
| Detach server-side resources. | |
| virtual void | layout () |
| Perform layout. | |
| virtual void | enable () |
| Enable the window. | |
| virtual void | disable () |
| Disable the window. | |
| virtual FXint | getDefaultWidth () |
| Return default width. | |
| virtual FXint | getDefaultHeight () |
| Return default height. | |
| void | setText (const FXString &text) |
| Change group box title text. | |
| FXString | getText () const |
| Return current groupbox title text. | |
| void | setGroupBoxStyle (FXuint style) |
| Change group box style. | |
| FXuint | getGroupBoxStyle () const |
| Return current group box style. | |
| void | setFont (FXFont *fnt) |
| Change title font. | |
| FXFont * | getFont () const |
| Return title font. | |
| void | setTextColor (FXColor clr) |
| Change title text color. | |
| FXColor | getTextColor () const |
| Return text color. | |
| virtual void | save (FXStream &store) const |
| Save to a stream. | |
| virtual void | load (FXStream &store) |
| Load from a stream. | |
Protected Attributes | |
| FXString | label |
| FXFont * | font |
| FXColor | textColor |
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.
|
|