![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
The Shutter widget provides a set of foldable sub panels. More...
#include <FXShutter.h>
Public Types | |
| enum | { ID_SHUTTER_TIMEOUT = FXVerticalFrame::ID_LAST, ID_OPEN_SHUTTERITEM, ID_OPEN_FIRST, ID_OPEN_SECOND, ID_OPEN_THIRD, ID_OPEN_FOURTH, ID_OPEN_FIFTH, ID_OPEN_SIXTH, ID_OPEN_SEVENTH, ID_OPEN_EIGHTH, ID_OPEN_NINETH, ID_OPEN_TENTH, ID_OPEN_LAST = ID_OPEN_FIRST+100, ID_LAST } |
Public Member Functions | |
| long | onFocusUp (FXObject *, FXSelector, void *) |
| long | onFocusDown (FXObject *, FXSelector, void *) |
| long | onTimeout (FXObject *, FXSelector, void *) |
| long | onOpenItem (FXObject *, FXSelector, void *) |
| long | onCmdSetValue (FXObject *, FXSelector, void *) |
| long | onCmdSetIntValue (FXObject *, FXSelector, void *) |
| long | onCmdGetIntValue (FXObject *, FXSelector, void *) |
| long | onCmdOpen (FXObject *, FXSelector, void *) |
| long | onUpdOpen (FXObject *, FXSelector, void *) |
| FXShutter (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=0, 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) | |
| Constructor. | |
| virtual void | layout () |
| Perform layout. | |
| virtual void | setCurrent (FXint panel, FXbool notify=false) |
| Set the currently displayed item (panel = 0, 1, 2, ..., npanels-1) | |
| FXint | getCurrent () const |
| Return the index of the currently displayed item. | |
| virtual void | save (FXStream &store) const |
| Save to stream. | |
| virtual void | load (FXStream &store) |
| Load from stream. | |
| virtual | ~FXShutter () |
| Destructor. | |
Protected Attributes | |
| FXint | current |
| FXint | closing |
| FXint | closingHeight |
| FXint | heightIncrement |
The Shutter widget provides a set of foldable sub panels.
Each subpanel consists of a Shutter Item which contains a button and some contents. A sub panel can be unfolded by pressing on that panel's button.
|
|