SoDialogPushButton Class Reference
[Dialog]

VSG extension Dialog push button node. More...

#include <DialogViz/dialog/SoDialogPushButton.h>

Inheritance diagram for SoDialogPushButton:
SoDialogComponent SoTopComponent SoDialogViz SoDragger SoInteractionKit SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject SoDialogPushButtonLauncher

List of all members.

Public Member Functions

 SoDialogPushButton ()
void addAuditor (SoDialogPushButtonAuditor *auditor)
void removeAuditor (SoDialogPushButtonAuditor *auditor)

Public Attributes

SoSFString buttonLabel

Detailed Description

VSG extension Dialog push button node.

This node defines a push button component for the dialog. This node is composed of a label on the left and a push button on the right. By default the text of the label (label) and the text of the button (buttonLabel) are empty strings.

A 2D SoDialogPushButton component looks like:

DialogPushButton.jpg

To add or remove an SoDialogPushButtonAuditor, use the addAuditor() and removeAuditor() methods. The push button auditor happens when the mouse left button is up, or the <SPACE> key is released.

You can change the parts in any instance of this button using setPart(). The default part geometries are defined as resources for this SoDialogPushButton class. They are detailed below in the Catalog Parts section of the online reference page for this class. You can make your program use different default resources for the parts by copying the file $OIVHOME/data/DialogViz/Skins/default/DialogPushButton.iv into your own directory, editing the file, and then setting the environment variable DIALOGVIZ_SKINS_DIR to be a path to that directory, or by using the setSkinDirectory() method in your application.

FILE FORMAT/DEFAULT

USAGE

SEE ALSO

SoDialogCheckBox, SoDialogCheckBoxLauncher, SoDialogComboBox, SoDialogRadioButtons, SoDialogCustom, SoDialogEditText, SoColumnDialog, SoRowDialog, SoTabDialog, SoDialogLabel, SoDialogPushButtonLauncher, SoDialogSeparator, SoDialogIntegerSlider, SoDialogRealSlider

See related examples:

ShowAll, Simple, SetSkin, Simple3DMenu


Constructor & Destructor Documentation

SoDialogPushButton::SoDialogPushButton (  ) 

Constructor.


Member Function Documentation

void SoDialogPushButton::addAuditor ( SoDialogPushButtonAuditor auditor  ) 

Adds a dialogPushButtonAuditor to the current PushButton component.

void SoDialogPushButton::removeAuditor ( SoDialogPushButtonAuditor auditor  ) 

Removes the specified pushButtonAuditor from the auditor list.


Member Data Documentation

Specifies the label of the button.

Default is empty string.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 11 Nov 2019
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/