VkWidgetList(3x)

VkWidgetList - Supports operations on a list of widgets

As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.

NAME
     VkWidgetList - Supports operations on a list of widgets

HEADER FILE
     #include <Vk/VkWidgetList.h>

PUBLIC PROTOCOL SUMMARY
   Constructor/Destructor
           VkWidgetList(void);
           virtual ~VkWidgetList(void);


   Adding and Removing Elements
           virtual void add(Widget w);
           virtual void add(VkComponent* comp);
           virtual void remove(VkComponent* comp);
           virtual void remove(Widget w);
           virtual void removeFirst(void);
           virtual void removeLast(void);


   Checking For Membership
           virtual Boolean exists(Widget w);


   Traversing the list
           int size(void);
           Widget operator[](int index);


CLASS DESCRIPTION
          The VkWidgetList class provides a convenient way to maintain and
          manipulate lists of widgets. Widgets can be added and removed from
          the list, or accessed by index. The VkWidgetList adds a
          destroyCallback to each added widget to maintain the integrity of
          the list when widgets are destroyed.



   VkWidgetList()
           VkWidgetList(void);


          Initialize an empty list.

   ~VkWidgetList()
           virtual void ~VkWidgetList(void);


          Destroy the storage used by a VkWidgetList object. Does not destroy
          any widgets currently on the list.
   add()
           virtual void add(Widget w);
           virtual void add(VkComponent* comp);


          Add a widget or component to a list. If a component is added, the
          component's base widget is added to the list.

   remove()
           virtual void remove(VkComponent* comp);
           virtual void remove(Widget w);


          Remove a widget or a component's base widget from the list.

   removeFirst()
           virtual void removeFirst(void);


          Remove the widget from the head of the list.

   removeLast()
           virtual void removeLast(void);


          Remove the widget from the tail of the list.

   exists()
           virtual Boolean exists(Widget w);


          Return TRUE if the given widget is currently a member of the list.

   size()
          int size(void);


          Return the number of items on a list.

   operator[]()
           Widget operator[](int index);


          Return a specific widget by index.

KNOWN DERIVED CLASSES
     VkAlignmentGroup, VkGangedGroup, VkRadioGroup

CLASSES USED BY THIS CLASS
     VkComponent

KNOWN CLASSES THAT USE THIS CLASS
     VkAlignmentGroup, VkDialogManager, VkGangedGroup, VkRadioGroup

SEE ALSO
     VkAlignmentGroup, VkComponent, VkGangedGroup, VkRadioGroup
     ViewKit Programmer's Guide
     The X Window System, DEC Press, Bob Sheifler and Jim Gettys
     The X Window System Toolkit, DEC Press, Paul Asente and Ralph Swick
     The OSF/Motif Programmers Reference, Prentice Hall, OSF