|
#include <CSplitter.h>

Public Member Functions | |
| CSplitter (const char *label=0, int layoutSize=10, CLayoutAlign layoutAlign=SP_ALIGN_TOP) | |
| After the splitter is grabbed finds out which widget is resizing. | |
| int | handle (int event) |
| Custom handle() method to process widget-specific events. | |
| virtual std::string | className () const |
| Returns widget class name (internal SPTK RTTI). | |
Static Public Member Functions | |
| static CLayoutClient * | creator (CXmlNode *node) |
| Creates a widget based on the XML node information. | |
Protected Member Functions | |
| void | findChainedControl () |
| Where did we grab the bar (y-coordinate) ? | |
CSplitter implements 'grab and resize' bar. It works only with SPTK-style widgets derived from CLayoutClient, and placed on a group derived from CLayoutManager (CGroup,CScroll).
| sptk::CSplitter::CSplitter | ( | const char * | label = 0, |
|
| int | layoutSize = 10, |
|||
| CLayoutAlign | layoutAlign = SP_ALIGN_TOP | |||
| ) |
After the splitter is grabbed finds out which widget is resizing.
Constructor in SPTK style
| label | const char *, label | |
| layoutSize | int, widget align in layout | |
| layoutAlign | CLayoutAlign, widget align in layout |
| static CLayoutClient* sptk::CSplitter::creator | ( | CXmlNode * | node | ) | [static] |
Creates a widget based on the XML node information.
| node | CXmlNode*, an XML node with widget information |
Reimplemented from sptk::CBox.