#include <uboxes.hpp>
Inheritance diagram for ubit::UCardbox:
Public Member Functions | |
UCardbox (const UArgs &a=UArgs::none) | |
virtual void | addTab (UBox &card) |
adds an unnamed tab. | |
virtual void | addTab (const UArgs &label, UBox &card) |
adds a named tab (label is the name shown in the tab). | |
virtual UBox * | getTab (int Nth) const |
virtual UBox * | getCard (int Nth) const |
virtual UBox * | getSelectedTab () const |
virtual UBox * | getSelectedCard () const |
virtual int | getSelectedIndex () const |
returns the index of the selected tab. returns -1 if there is no selected tab. | |
virtual void | setSelectedIndex (int n) |
selects the Nth tab; selects the last tab if n = -1. | |
UListbox & | tabs () |
returns the tab list. | |
UChoice & | choice () |
returns the UChoice object that controls the selection of the tab list. | |
Static Public Member Functions | |
static UStyle * | createStyle () |
< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!). | |
Friends | |
UCardbox & | ucardbox (const UArgs &a=UArgs::none) |
UStyle * ubit::UCardbox::createStyle | ( | ) | [static] |
< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!).
this macro defines the UClass that corresponds to this class and:
Reimplemented from ubit::UBox.