![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXShutter.h>
Public Types | |
enum | { ID_SHUTTER_TIMEOUT = FXVerticalFrame::ID_LAST, ID_OPEN_SHUTTERITEM, ID_OPEN_FIRST, ID_OPEN_LAST = ID_OPEN_FIRST+1000, ID_LAST } |
Public Member Functions | |
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) | |
virtual void | layout () |
virtual void | setCurrent (FXint panel) |
FXint | getCurrent () const |
virtual | ~FXShutter () |
Friends | |
class | FXShutterItem |
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.
anonymous enum |
FX::FXShutter::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 FX::FXShutter::~FXShutter | ( | ) | [virtual] |
Destructor.
virtual void FX::FXShutter::layout | ( | ) | [virtual] |
Perform layout.
Reimplemented from FX::FXVerticalFrame.
virtual void FX::FXShutter::setCurrent | ( | FXint | panel | ) | [virtual] |
Set the currently displayed item (panel = 0, 1, 2, ..., npanels-1)
FXint FX::FXShutter::getCurrent | ( | ) | const [inline] |
Return the index of the currently displayed item.
References FX::FXWindow::ID_LAST.
friend class FXShutterItem [friend] |
![]() |