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

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

Contents


VkWidgetList(3x)					      VkWidgetList(3x)


NAME    [Toc]    [Back]

     VkWidgetList - Supports operations	on a list of widgets

HEADER FILE    [Toc]    [Back]

     #include <Vk/VkWidgetList.h>

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


   Adding and Removing Elements    [Toc]    [Back]
	   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    [Toc]    [Back]
	   int size(void);
	   Widget operator[](int index);

CLASS DESCRIPTION    [Toc]    [Back]

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




									Page 1






VkWidgetList(3x)					      VkWidgetList(3x)



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

     VkAlignmentGroup, VkGangedGroup, VkRadioGroup

CLASSES	USED BY	THIS CLASS
     VkComponent





									Page 2






VkWidgetList(3x)					      VkWidgetList(3x)


KNOWN CLASSES THAT USE THIS CLASS    [Toc]    [Back]

     VkAlignmentGroup, VkDialogManager,	VkGangedGroup, VkRadioGroup

SEE ALSO    [Toc]    [Back]

      
      
     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


									PPPPaaaaggggeeee 3333
[ Back ]
 Similar pages
Name OS Title
listres Tru64 list resources in widgets
listres IRIX list resources in widgets (Internationalized version)
lio_listio HP-UX start a list of asynchronous I/O operations
VkAction IRIX Supports encapsulation of a command that can be undone
VkPrefItem IRIX Abstract class that supports preference items
VkNameList IRIX A class that supports and manipulates lists of strings
setPowerSaver IRIX turns on powersave option, if monitor supports it
VkCompletionField IRIX A text input field that supports automatic name completion
VkGangedGroup IRIX Utility class that supports ganged scrollbars and scales
VkGenericDialog IRIX An abstract class that supports custom dialog managers
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service