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

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

Contents


VkVuMeter(3x)							 VkVuMeter(3x)


NAME    [Toc]    [Back]

     VkVuMeter - A component for displaying a segmented	meter

INHERITS FROM    [Toc]    [Back]

     VkComponent : VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #include <Vk/VkVuMeter.h>

PUBLIC PROTOCOL	SUMMARY
   Constructor/Destructor
	   VkVuMeter(char* name, Widget	parent);
	   virtual void	~VkVuMeter(void);


   Configuration    [Toc]    [Back]
	   void	setValue(int value, int	peak);

X RESOURCES ASSOCIATED WITH THIS CLASS    [Toc]    [Back]

	   red		Color for highest segments (red)

	   yellow	     Color for middle segments (yellow)

	   green	     Color for lowest segments (green)

	   sideThickness     Thickness of the side bars	(1 pixel)

	   sideSpacing	     Distance between the side bar and the segment (0 pixels)

	   drawSides	     Draw the side bars	(true)

	   granularity	     Scale used	for spacing and	size resources (11)

	   spacing	     Vertical scaled spacing between segments (1)

	   size		     Vertical scaled size of segments (9)`[072q

	   numReds	     Number of highest segments	(1)

	   numYellows	     Number of middle segments (3)

	   numGreens	     Number of lowest segments (7)

	   peakBlock	     Draw the peak value as an entire block (False)

	   peakHeight	     Scaled Height of the peak value line (1)








									Page 1






VkVuMeter(3x)							 VkVuMeter(3x)



CLASS DESCRIPTION
	  VkVuMeter presents a vertical	set of segments	as a meter display,
	  similar to that used by hi-fi	audio displays.	 Its value ranges from
	  0 to 110, with 0 showing the most segments and 110 showing the
	  least.  A peak value is displayed separately,	as an entire block or
	  as a line.


FUNCTION DESCRIPTIONS    [Toc]    [Back]

   VkVuMeter()
	   VkVuMeter(char* name, Widget	parent)

	   virtual void	~VkVuMeter(void);


	  VkVuMeter creates a component	using the name and parent parameters.

   setValue()
	  void setValue(int value, int peak);


	  This function	changes	the currently display value.  A	separate peak
	  value	will also be displayed.	 It is expected	that peak <= value.

   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]

      
      
     VkComponent
     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
VkRepeatButton IRIX A component for displaying repeating Motif buttons
VkTickMarks IRIX A component for displaying a vertical set of tick marks
VkTabPanel IRIX A component for displaying a tabular control panel
cpumeter IRIX control the CPU activity meter on the Onyx/Challenge L/XL LCD panel
XmStringPeekNextComponent Tru64 A compound string function that returns the component type of the next component fetched
XmStringPeekNextComponent IRIX A compound string function that returns the component type of the next component fetched
XmStringPeekNextComponent HP-UX A compound string function that returns the component type of the next component to be fetched
XmStringInitContext HP-UX A compound string function that creates a data structure for scanning an XmString component by component
DXmSvnGetComponentTag Tru64 Retrieves (returns) a component tag for a specified component number.
XmStringPeekNextTriple HP-UX A function that returns the component type of the next component
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service