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

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

Contents


VkRepeatButton(3x)					    VkRepeatButton(3x)


NAME    [Toc]    [Back]

     VkRepeatButton - A	component for displaying repeating Motif buttons

INHERITS FROM    [Toc]    [Back]

     VkComponent : VkCallbackObject

HEADER FILE    [Toc]    [Back]

     #include <Vk/VkRepeatButton.h>

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


   Access Functions    [Toc]    [Back]
	   VkRepeatButtonType type(void);


   Configuration    [Toc]    [Back]
	  void setParameters(long initial, long	repeat);



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

	  initialDelay
	  repeatDelay


CLASS DESCRIPTION    [Toc]    [Back]

     VkRepeatButton provides auto-repeating Motif push buttons.	 Normally, a
     Motif push	button activates once when the user presses and	releases.
     VkRepeatButton behaves much like scrollbar	buttons.  Activation occurs
     when the user presses, begins repeating after some	delay and at some
     interval, and stops activating when the user releases.

DERIVING SUBCLASSES    [Toc]    [Back]

     Since VkRepeatButton is designed to substitute for	an ordinary, nonrepeating
 XmPushButton or XmArrowButton, use of subclasses	is unexpected.
     Instead, build VkComponent	subclasses as you would	with other Motif
     widgets.

FUNCTION DESCRIPTIONS    [Toc]    [Back]

   VkRepeatButton()





									Page 1






VkRepeatButton(3x)					    VkRepeatButton(3x)



	   VkRepeatButton(char*	name,
			  Widget parent,
			  VkRepeatButtonType type);
	   virtual void	~VkRepeatButton(void);


	  VkRepeatButton creates a component using the name and	parent
	  parameters.  The file	parameter specifies what type of Motif button
	  to create.  This value can be	RB_pushButton, RB_pushButtonGadget,
	  RB_arrowButton, or RB_arrowButtonGadget.  These create XmPushButton,
	  XmPushButtonGadget, XmArrowButton, and XmArrowButtonGadget widgets,
	  respectively.

   type()
	   VkRepeatButtonType type(void);


	  This function	returns	the type of button, RB_pushButton,
	  RB_pushButtonGadget, RB_arrowButton, or RB_arrowButtonGadget.

   setParameters()
	   void	setParameters(long initial, long repeat);


	  The first argument controls how long,	in milliseconds, the user has
	  to hold the button down before auto-repeat begins.  It defaults to
	  1000,	but is controllable via	the initialDelay resource.  The	second
	  argument controls the	interval between auto-repeat activations, in
	  milliseconds.	 It defaults to	200, but is controllable via the
	  repeatDelay resource.

   const const char* buttonCallback;
	  static const const char* buttonCallback;


	  A callback function for detecting activations	of the repeating
	  button.  The callData	argument should	be cast	to a
	  (XmAnyCallbackStruct *).

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







									Page 2






VkRepeatButton(3x)					    VkRepeatButton(3x)


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 3333
[ Back ]
 Similar pages
Name OS Title
VkVuMeter IRIX A component for displaying a segmented meter
VkTabPanel IRIX A component for displaying a tabular control panel
VkTickMarks IRIX A component for displaying a vertical set of tick marks
VkRadioGroup IRIX Support for radio behavior within any set of toggle buttons
xmodmap IRIX utility for modifying keymaps (and pointer buttons) in X
XmStringPeekNextComponent Tru64 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
XmStringPeekNextComponent IRIX A compound string function that returns the component type of the next component fetched
XmStringInitContext HP-UX A compound string function that creates a data structure for scanning an XmString component by component
DXmFormSpaceButtonsEqually Tru64 Sets push buttons in a form widget to be equally spaced and sized.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service