VkTabbedDeck(3x) VkTabbedDeck(3x)
VkTabbedDeck - Combines a VkTabPanel and a VkDeck
VkComponent : VkCallbackObject
#include <Vk/VkTabbedDeck.h>
PUBLIC PROTOCOL SUMMARY
Constructor/Destructor
VkTabbedDeck(const char*,Widget);
virtual ~VkTabbedDeck(void);
Adding Data [Toc] [Back]
void registerChild(VkComponent*,const char*);
void registerChild(Widget,const char*);
Information [Toc] [Back]
Widget deckParent(void);
VkComponent* topComponent(void);
Widget topWidget(void);
Control [Toc] [Back]
void setTabLocation(int);
PROTECTED PROTOCOL SUMMARY [Toc] [Back] Actions
void pop(VkCallbackObject*,void*,void*);
Protected Data Members [Toc] [Back]
VkDeck* _vkdeck;
VkTabPanel* _tabs;
X RESOURCES ASSOCIATED WITH THIS CLASS [Toc] [Back] tabLabel the label for the tab
Page 1
VkTabbedDeck(3x) VkTabbedDeck(3x)
This class incorporates both a VkTabPanel and a VkTabDeck, to give an
appearance somewhat like a set of tabbed cards. The selected tab, and
its corresponding child of the VkTabDeck, are the ones on top.
Provision is made for more tabs than fit into view at once. A special
graphic is drawn. The graphic has a popup menu that allows one to choose
which tab should be made current, and therefore visible.
FUNCTION DESCRIPTIONS [Toc] [Back] VkTabbedDeck()
VkTabbedDeck(const char*,Widget);
Initialize an instance of VkTabbedDeck.
~VkTabbedDeck()
virtual ~VkTabbedDeck(void);
Free all memory allocated by a VkTabbedDeck object.
deckParent()
Widget deckParent(void);
Returns the deck's base widget.
pop()
void pop(VkCallbackObject*,void*,void*);
The method that gets called when a tab is selected.
registerChild()
void registerChild(VkComponent*,const char*);
void registerChild(Widget,const char*);
Adds the component to the deck, and adds a tab for it.
setTabLocation()
void setTabLocation(int);
Sets which side of the deck the tabs are on. Currently only the
bottom and left sides are supported.
Page 2
VkTabbedDeck(3x) VkTabbedDeck(3x)
topComponent()
VkComponent* topComponent(void);
Returns the top component.
topWidget()
Widget topWidget(void);
Returns the top widget.
DATA MEMBER DESCRIPTIONS [Toc] [Back] VkDeck* _vkdeck;
VkDeck* _vkdeck;
Points to the VkDeck in use.
VkTabPanel* _tabs;
VkTabPanel* _tabs;
Points to the VkTabPanel in use.
const const char* tabPopupCallback;
static const const char* tabPopupCallback;
Name of the callback list that gets called when a tab is selected.
INHERITED MEMBER FUNCTIONS [Toc] [Back] Inherited from VkComponent
_baseWidget, _extension, _name, _w
afterRealizeHook(), attributeList(), baseWidget(), deleteCallback,
getAttribute(), getResources(), hide(), installDestroyHandler(),
isComponent(), loadObject(), manage(), name(), okToQuit(),
realize(), removeDestroyHandler(), setAttribute(),
setDefaultResources(), show(), unmanage(), widgetDestroyed(),
Widget()
Inherited from VkCallbackObject [Toc] [Back]
addCallback(), callCallbacks(), cloneCallback(), cloneCallbacks(),
getMethodArgType(), getMethods(), hasCallbacks(), invokeMethod(),
loadObject(), registerLoadedObject(), removeAllCallbacks(),
removeCallback()
Page 3
VkTabbedDeck(3x) VkTabbedDeck(3x)
CLASSES USED BY THIS CLASS
VkCallbackObject, VkComponent, VkDeck, VkTabPanel
KNOWN CLASSES THAT USE THIS CLASS [Toc] [Back] VkTabbedDeck
VkCallbackObject, VkComponent, VkDeck, VkTabPanel
PPPPaaaaggggeeee 4444 [ Back ]
|