SoTabDialog Class Reference

VSG extension Class that creates the dialog tab container. More...

#include <DialogViz/dialog/SoTabDialog.h>

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

List of all members.

Public Types

enum  TabsLocation {

Public Member Functions

 SoTabDialog ()
void addAuditor (SoTabDialogAuditor *auditor)
void removeAuditor (SoTabDialogAuditor *auditor)

Public Attributes

SoSFEnum tabsLocation
SoSFInt32 selectedPage

Detailed Description

VSG extension Class that creates the dialog tab container.

An SoTabDialog creates multiple pages for the same area of a window. Each page consists of a set of SoDialogComponents that the application displays when the user selects the corresponding tab. You can add, insert, and remove dialog components (SoDialogComponent) by using the addChild(), insertChild(), and removeChild() methods.

You can change the parts in any instance of this tab dialog component using setPart(). The default part geometries are defined as resources for this SoTabDialog 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/TabDialog.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.



SoColumnDialog, SoRowDialog, SoDialogGroup

See related examples:

ShowAll, Simple, SetSkin, Simple3DMenu

Member Enumeration Documentation


Tabs appear at the top of the control (default).


Tabs appear at the bottom of the control.

This value equals TCS_RIGHT. This style is not supported if you are using ComCtl32.dll version 6.


Tabs appear vertically on the left side of controls.


Tabs appear vertically on the right side of controls.

Constructor & Destructor Documentation

SoTabDialog::SoTabDialog (  ) 


Member Function Documentation

void SoTabDialog::addAuditor ( SoTabDialogAuditor auditor  ) 

Adds a TabDialogAuditor to current TabDialog component.

void SoTabDialog::removeAuditor ( SoTabDialogAuditor auditor  ) 

Removes the specified TabDialogAuditor from the auditor list.

Member Data Documentation

Specifies currently selected tab page.

Default is zero, the first page.

Specifies location of the tabs.

Default value is TOP.

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

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