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

FX::FXShutter Class Reference

The Shutter widget provides a set of foldable sub panels. More...

#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_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

 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, FXbool notify=false)
FXint getCurrent () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXShutter ()


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_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_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,
FXbool  notify = false 
) [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.

virtual void FX::FXShutter::save ( FXStream store  )  const [virtual]

Save to stream.

Reimplemented from FX::FXPacker.

virtual void FX::FXShutter::load ( FXStream store  )  [virtual]

Load from stream.

Reimplemented from FX::FXPacker.

Copyright © 1997-2009 Jeroen van der Zijp