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

FX::FXShutter Class Reference

#include <FXShutter.h>

Inheritance diagram for FX::FXShutter:
FX::FXVerticalFrame FX::FXPacker FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject

List of all members.

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

Detailed Description

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.


Member Enumeration Documentation

anonymous enum
Enumerator:
ID_SHUTTER_TIMEOUT 
ID_OPEN_SHUTTERITEM 
ID_OPEN_FIRST 
ID_OPEN_LAST 
ID_LAST 

Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Friends And Related Function Documentation

friend class FXShutterItem [friend]

Copyright © 1997-2005 Jeroen van der Zijp