VkRepeatButton man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



VkRepeatButton(3x)					    VkRepeatButton(3x)

NAME
     VkRepeatButton - A component for displaying repeating Motif buttons

INHERITS FROM
     VkComponent : VkCallbackObject

HEADER FILE
     #include <Vk/VkRepeatButton.h>

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

   Access Functions
	   VkRepeatButtonType type(void);

   Configuration
	  void setParameters(long initial, long repeat);

X RESOURCES ASSOCIATED WITH THIS CLASS
	  initialDelay
	  repeatDelay

CLASS DESCRIPTION
     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
     Since VkRepeatButton is designed to substitute for an ordinary, non-
     repeating XmPushButton or XmArrowButton, use of subclasses is unexpected.
     Instead, build VkComponent subclasses as you would with other Motif
     widgets.

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

   Inherited from VkCallbackObject
	  callCallbacks(), addCallback(), removeCallback(),
	  removeAllCallbacks()

									Page 2

VkRepeatButton(3x)					    VkRepeatButton(3x)

SEE ALSO
     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

									Page 3

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net