*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Vk/VkPrefGroup (3)              
Title
Content
Arch
Section
 

Contents


VkPrefGroup(3x)						       VkPrefGroup(3x)


NAME    [Toc]    [Back]

     VkPrefGroup - Grouping interface for preference package

INHERITS FROM    [Toc]    [Back]

     VkPrefItem	: VkComponent :	VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #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    [Toc]    [Back]
	   void	addItem(VkPrefItem* item);


   Access Functions    [Toc]    [Back]
	   int size(void);
	   VkPrefItem* item(int	which);



CLASS DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

   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()





									Page 1






VkPrefGroup(3x)						       VkPrefGroup(3x)



	   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    [Toc]    [Back]

   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    [Toc]    [Back]
	  installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
	  setDefaultResources(), getResources(), manage(), unmanage(),
	  baseWidget(),	okToQuit(), _name, _baseWidget,	_w, deleteCallback


   Inherited from VkCallbackObject    [Toc]    [Back]
	  callCallbacks(), addCallback(), removeCallback(),
	  removeAllCallbacks()

KNOWN DERIVED CLASSES    [Toc]    [Back]

     VkPrefList, VkPrefRadio

CLASSES	USED BY	THIS CLASS
     VkPrefItem







									Page 2






VkPrefGroup(3x)						       VkPrefGroup(3x)



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


									PPPPaaaaggggeeee 3333
[ Back ]
 Similar pages
Name OS Title
VkPrefDialog IRIX Preference dialog interface for preference package
VkPrefToggle IRIX Toggle interface for preference package
VkPrefRadio IRIX Radio box interface for preference package
VkPrefList IRIX List-arrangement interface for preference package
VkPrefSeparator IRIX Separator for preference package (decorative)
VkPrefLabel IRIX Label for preference package (decorative)
VkPrefCustom IRIX Custom widget holder for preference package
VkPrefEmpty IRIX Empty place holder for preference package (decorative)
VkCheckBox IRIX A simple interface to a multi-choice preference panel
aptitude Linux high-level interface to the package manager.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service