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

FX::FXShutterItem Class Reference

A Shutter Item is a panel which is embedded inside a Shutter Widget. More...

#include <FXShutter.h>

Inheritance diagram for FX::FXShutterItem:

FX::FXVerticalFrame FX::FXPacker FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject

List of all members.

Public Types

enum  {
  ID_SHUTTERITEM_BUTTON = FXVerticalFrame::ID_LAST,
  ID_LAST
}

Public Member Functions

 FXShutterItem (FXShutter *p, const FXString &text=FXString::null, FXIcon *icon=NULL, 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)
FXScrollWindowgetScrollWindow () const
FXButtongetButton () const
FXVerticalFramegetContent () const
void setHelpText (const FXString &text)
FXString getHelpText () const
void setTipText (const FXString &text)
FXString getTipText () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXShutterItem ()


Detailed Description

A Shutter Item is a panel which is embedded inside a Shutter Widget.

It can contain other user interface widgets which can be added under the content widget. The content widget is itself embedded in a scroll window to allow unlimited room for all the contents.


Member Enumeration Documentation

anonymous enum

Enumerator:
ID_SHUTTERITEM_BUTTON 
ID_LAST 


Constructor & Destructor Documentation

FX::FXShutterItem::FXShutterItem ( FXShutter p,
const FXString text = FXString::null,
FXIcon icon = NULL,
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::FXShutterItem::~FXShutterItem (  )  [virtual]

Destructor.


Member Function Documentation

FXScrollWindow* FX::FXShutterItem::getScrollWindow (  )  const [inline]

Return a pointer to the scroll window.

FXButton* FX::FXShutterItem::getButton (  )  const [inline]

Return a pointer to the button for this item.

FXVerticalFrame* FX::FXShutterItem::getContent (  )  const [inline]

Return a pointer to the contents for this item.

void FX::FXShutterItem::setHelpText ( const FXString text  ) 

Set the status line help text for this item.

FXString FX::FXShutterItem::getHelpText (  )  const

Get the status line help text for this item.

void FX::FXShutterItem::setTipText ( const FXString text  ) 

Set the tool tip message for this item.

FXString FX::FXShutterItem::getTipText (  )  const

Get the tool tip message for this item.

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

Save to stream.

Reimplemented from FX::FXPacker.

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

Load from stream.

Reimplemented from FX::FXPacker.

Copyright © 1997-2009 Jeroen van der Zijp