VkTabbedDeck(3x)

VkTabbedDeck - Combines a VkTabPanel and a VkDeck

As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.

NAME
     VkTabbedDeck - Combines a VkTabPanel and a VkDeck


INHERITS FROM
     VkComponent : VkCallbackObject


HEADER FILE
     #include <Vk/VkTabbedDeck.h>


PUBLIC PROTOCOL SUMMARY
   Constructor/Destructor
           VkTabbedDeck(const char*,Widget);
           virtual ~VkTabbedDeck(void);


   Adding Data
           void registerChild(VkComponent*,const char*);
           void registerChild(Widget,const char*);


   Information
           Widget deckParent(void);
           VkComponent* topComponent(void);
           Widget topWidget(void);


   Control
          void setTabLocation(int);



PROTECTED PROTOCOL SUMMARY
   Actions
           void pop(VkCallbackObject*,void*,void*);


   Protected Data Members
           VkDeck* _vkdeck;
           VkTabPanel* _tabs;



X RESOURCES ASSOCIATED WITH THIS CLASS
          tabLabel    the label for the tab

CLASS DESCRIPTION
     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
   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.

   topComponent()
          VkComponent* topComponent(void);


          Returns the top component.


   topWidget()
          Widget topWidget(void);


          Returns the top widget.


DATA MEMBER DESCRIPTIONS
   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
   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
          addCallback(), callCallbacks(), cloneCallback(), cloneCallbacks(),
          getMethodArgType(), getMethods(), hasCallbacks(), invokeMethod(),
          loadObject(), registerLoadedObject(), removeAllCallbacks(),
          removeCallback()
CLASSES USED BY THIS CLASS
     VkCallbackObject, VkComponent, VkDeck, VkTabPanel


KNOWN CLASSES THAT USE THIS CLASS
     VkTabbedDeck


SEE ALSO
     VkCallbackObject, VkComponent, VkDeck, VkTabPanel