SoMenuPushButton Class Reference

VSG extension Menu pushbutton node. More...

#include <DialogViz/dialog/SoMenuPushButton.h>

Inheritance diagram for SoMenuPushButton:
SoMenuItem SoDialogViz SoDragger SoInteractionKit SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject SoMenuFileSelection SoMenuPushButtonLauncher

List of all members.

Public Member Functions

 SoMenuPushButton ()
void addAuditor (SoMenuPushButtonAuditor *auditor)
void removeAuditor (SoMenuPushButtonAuditor *auditor)

Public Attributes

SoSFString accelerator

Detailed Description

VSG extension Menu pushbutton node.

This node defines a push button item for a dialog menu.

You can change the parts in any instance of this menu push button using setPart(). The default part geometries are defined as resources for this SoMenuPushButton 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/MenuPushButton.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.



SoMenuCheckBox, SoMenuCheckBoxLauncher, SoMenuPopup, SoMenuPushButtonLauncher, SoMenuFileSelection, SoMenuRadioButtons, SoMenuSeparator

See related examples:

ShowAll, Simple, SetSkin, Simple3DMenu

Constructor & Destructor Documentation

SoMenuPushButton::SoMenuPushButton (  ) 


Member Function Documentation

void SoMenuPushButton::addAuditor ( SoMenuPushButtonAuditor auditor  ) 

Add a menuPushButtonAuditor to current PushButton component.

void SoMenuPushButton::removeAuditor ( SoMenuPushButtonAuditor auditor  ) 

Remove the defined pushButtonAuditor from the auditor list.

Member Data Documentation

Defines the menu item accelerator key.

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

Open Inventor Toolkit reference manual, generated on 24 Mar 2020
Copyright © Thermo Fisher Scientific All rights reserved.