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=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)
FXButtongetButton () const
FXVerticalFramegetContent () const
void setHelpText (const FXString &text)
FXString getHelpText () const
void setTipText (const FXString &text)
FXString getTipText () const
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.


Constructor & Destructor Documentation

FX::FXShutterItem::FXShutterItem FXShutter p,
const FXString text = 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

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.

Copyright © 1997-2005 Jeroen van der Zijp