sptk2 logo
SPTK Home Page

sptk::CComboBox Class Reference
[GUI Classes]

Combo box widget. More...

#include <CComboBox.h>

Inheritance diagram for sptk::CComboBox:

sptk::CBaseListBox sptk::CControl sptk::CLayoutClient sptk::CFontComboBox

List of all members.

Public Member Functions

 CComboBox (const char *label=0, int layoutSize=10, CLayoutAlign layoutAlign=SP_ALIGN_TOP)
 ~CComboBox ()
 Destructor.
virtual CControlKind kind () const
virtual std::string className () const

Static Public Member Functions

static CLayoutClientcreator (CXmlNode *node)
 Creates a combo box based on the XML node information.


Detailed Description

Combo box widget.

The extended version of standard combo box that exists in any OS. It may include up to four special buttons to insert, edit, delete, refresh data inside the drop down list besides the standard button to show the drop down list


Constructor & Destructor Documentation

sptk::CComboBox::CComboBox ( const char *  label = 0,
int  layoutSize = 10,
CLayoutAlign  layoutAlign = SP_ALIGN_TOP 
)

Constructor in SPTK style

Parameters:
label const char *, label
layoutSize int, widget align in layout
layoutAlign CLayoutAlign, widget align in layout


Member Function Documentation

virtual std::string sptk::CComboBox::className (  )  const [inline, virtual]

SPTK RTTI information

Returns:
control type name

Reimplemented from sptk::CControl.

Reimplemented in sptk::CFontComboBox.

virtual CControlKind sptk::CComboBox::kind (  )  const [virtual]

SPTK RTTI information

Returns:
control type as CControlKind
See also:
CControlKind

Implements sptk::CControl.


The documentation for this class was generated from the following file:

Mon Mar 5 11:56:10 2012: SPTK 3.5.7