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

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

Contents


VkPrefToggle(3x)					      VkPrefToggle(3x)


NAME    [Toc]    [Back]

     VkPrefToggle - Toggle interface for preference package

INHERITS FROM    [Toc]    [Back]

     VkPrefItem	: VkComponent :	VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #include <Vk/VkPrefItem.h>

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


   Setting and Getting Values    [Toc]    [Back]
	   void	setValue(Boolean value);
	   Boolean getValue(void);

CLASS DESCRIPTION    [Toc]    [Back]

	  VkPrefToggle is a toggle preference object.  The user	can either
	  turn the toggle on or	off.  See VkPrefItem for more generic
	  information about preference objects.


FUNCTION DESCRIPTIONS    [Toc]    [Back]

   VkPrefToggle()
	   VkPrefToggle(const char* name,
			Boolean	forceLabelFormat = False);
	   virtual void	~VkPrefToggle(void);


	  Creates a Motif XmToggleButton gadget	as its base.  A	label for the
	  object will be created if the	second argument	is True	or if this
	  object is within a container with only other VkPrefToggle objects.
	  Otherwise, no	explicit label is created and the standard Motif
	  toggle widget	appearance (i.e. label on the right of the toggle) is
	  used.

   setValue()
	  void setValue(Boolean	value);


	  Changes the toggle object's current and real value.

   getValue()
	  Boolean getValue(void);





									Page 1






VkPrefToggle(3x)					      VkPrefToggle(3x)



	  Copies the toggle object's current value to the real value, and
	  returns it.

INHERITED MEMBER FUNCTIONS    [Toc]    [Back]

   Inherited from VkPrefCustom
	  updateValue(),  revertValue(),  VkPrefCustom(),  ~VkPrefCustom(),


   Inherited from VkPrefItem    [Toc]    [Back]
	  VkPrefItem(),	~VkPrefItem(), activate(), deleteChildren(),
	  labelHeight(), baseHeight(), setLabelHeight(), setBaseHeight(),
	  activateCallback(), installDestroyHandlers(),	labelWidget(),
	  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()

SEE ALSO    [Toc]    [Back]

      
      
     VkPrefItem, VkComponent, VkPrefToggle,
     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 2222
[ Back ]
 Similar pages
Name OS Title
VkPrefDialog IRIX Preference dialog interface for preference package
VkPrefGroup IRIX Grouping 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