VkPrefGroup(3x)

VkPrefGroup - Grouping interface for preference package

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     VkPrefGroup - Grouping interface for preference package

INHERITS FROM
     VkPrefItem : VkComponent : VkCallbackObject

HEADER FILE
     #include <Vk/VkPrefItem.h>

PUBLIC PROTOCOL SUMMARY
   Constructor/Destructor
           VkPrefGroup(const char* name,
                       Boolean horizOrientation = False,
                       Boolean noLabel = False);
           virtual void ~VkPrefGroup(void);


   Adding Items
           void addItem(VkPrefItem* item);


   Access Functions
           int size(void);
           VkPrefItem* item(int which);




CLASS DESCRIPTION
     VkPrefGroup groups preference objects together.  It enforces an
     arrangement policy that creates "standard" appearances among different
     preference dialogs.  Vertically-oriented groups (the default) left-align
     the object labels.  Horizontally-oriented groups throw away the object
     labels, and arrange the object base widgets in a row.



FUNCTION DESCRIPTIONS
   VkPrefGroup()
           VkPrefGroup(const char* name,
                      Boolean horizOrientation = False,
                      Boolean noLabel = False);
           virtual void ~VkPrefGroup(void);


          Create a group preference object.  The second argument turns on
          horizontal orientation, and the third argument turns off the label
          widget for the group itself.

   addItem()
           void addItem(VkPrefItem* item);


          Adds a preference object to the group.  The new item is added to the
          end of the list, so appears at the end of the arrangement.

          Note that when you use addItem, the new item takes on the activated
          or deactivated state of the group.  Therefore, you should activate
          or deactivate an item after you add it to a group with addItem.

   size()
          int size(void);


          Returns the number of items in the group.

   item()
          VkPrefItem* item(int which);


          Returns a specific item from the group.

INHERITED MEMBER FUNCTIONS
   Inherited from VkPrefItem
          VkPrefItem(), ~VkPrefItem(), setActivated(), homogeneous(),
          clearHomogeneous(), activated(), hasChildren(), deleteChildren(),
          labelHeight(), baseHeight(), setLabelHeight(), setBaseHeight(),
          activateCallback(), installDestroyHandlers(), labelWidget(),
          label_destroyed(), buildLabel(), getHeight(), setHeight(),
          _labelWidget, _baseName, _labelName, _activated, _homogeneous,


   Inherited from VkComponent
          installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
          setDefaultResources(), getResources(), manage(), unmanage(),
          baseWidget(), okToQuit(), _name, _baseWidget, _w, deleteCallback


   Inherited from VkCallbackObject
          callCallbacks(), addCallback(), removeCallback(),
          removeAllCallbacks()


KNOWN DERIVED CLASSES
     VkPrefList, VkPrefRadio

CLASSES USED BY THIS CLASS
     VkPrefItem

SEE ALSO
     VkPrefItem, VkComponent, VkPrefItem,
     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