VkDeck(3x)
VkDeck - Container that makes one child at a time visible
Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.
NAME VkDeck - Container that makes one child at a time visible INHERITS FROM VkComponent : VkCallbackObject HEADER FILE #include <Vk/VkDeck.h> PUBLIC PROTOCOL SUMMARY Constructor/Destructor VkDeck(const char*,Widget); virtual ~VkDeck(void); Adding Data void addView(Widget); void addView(VkComponent*); Setting Visibility void pop(int); void pop(Widget,int); void pop(VkComponent*,int); void push(int); void push(Widget,int); void push(VkComponent*,int); Information VkComponent* topComponent(void); Widget topWidget(void); X RESOURCES ASSOCIATED WITH THIS CLASS This class introduces no new resources. CLASS DESCRIPTION This class is a container to which children can be added. Each child will be the size of the deck. Only one child at a time will be visible. FUNCTION DESCRIPTIONS VkDeck() VkDeck(const char*,Widget); Initialize an instance of a VkDeck. ~VkDeck() virtual ~VkDeck(void); Free all memory allocated by a VkDeck object. addView() void addView(Widget); void addView(VkComponent*); Adds another child to the deck. pop() void pop(enum TransitionStyle style); void pop(Widget, enum TransitionStyle style); void pop(VkComponent*, enum TransitionStyle style); Makes the named widget current (visible). If there is no named widget, the next one becomes current. The only style currently implemented is POP. push() void push(enum TransitionStyle style); void push(Widget,enum TransitionStyle style); void push(VkComponent*,enum TransitionStyle style); Makes the named widget current (visible). If there is no named widget, the previous one becomes current. The only style currently implemented is POP. topComponent() VkComponent* topComponent(void); Returns the current component. topWidget() Widget topWidget(void); Returns the current widget. DATA MEMBER DESCRIPTIONS VkWidgetList* _children; VkWidgetList* _children; Ordered list of child windows to be pushed/popped. int _current; int _current; Index of the child that is currently on top of the stack. INHERITED MEMBER FUNCTIONS Inherited from VkComponent _baseWidget, _extension, _name, _w attributeList(), baseWidget(), deleteCallback, getAttribute(), getResources(), hide(), installDestroyHandler(), isComponent(), loadObject(), manage(), name(), okToQuit(), realize(), removeDestroyHandler(), setAttribute(), setDefaultResources(), show(), unmanage(), Widget(), widgetDestroyed() Inherited from VkCallbackObject addCallback(), callCallbacks(), cloneCallback(), cloneCallbacks(), getMethodArgType(), getMethods(), hasCallbacks(), invokeMethod(), loadObject(), registerLoadedObject(), removeAllCallbacks(), removeCallback() KNOWN DERIVED CLASSES There are no known derived classes. CLASSES USED BY THIS CLASS VkComponent, VkWidgetList KNOWN CLASSES THAT USE THIS CLASS VkTabbedDeck SEE ALSO VkCallbackObject, VkComponent, VkTabbedDeck, VkWidgetList