Debian Codegraph @

doc/man/man3/ivm/viewers/SoXtFullViewer.ivm

raw
1 NAME SoXtFullViewer SoXtFullVwr SO_XT_FULL_VWR_ {
2 base viewer class which adds a decoration around the rendering area
3 }
4
5 INCLUDE Xt/viewers/SoXtFullViewer.h
6
7 ENUM BuildFlag {
8 BUILD_NONE "doesn't build anything extra",
9 BUILD_DECORATION "build the decoration only",
10 BUILD_POPUP "build the popup menu only",
11 BUILD_ALL "build everything by default"
12 }
13
14 DESC {
15 This is a base class used by all viewer components. The class adds a
16 decoration around the rendering area which includes thumb wheels, a zoom
17 slider and push buttons. This base class also includes a viewer popup menu
18 and a preference sheet with generic viewing functions. The constructors for
19 the various subclasses of \cSoXtFullViewer\. provide a flag for specifying
20 whether the decoration and popup menus should be built.
21 }
22
23 METHOD setDecor void setDecoration(SbBool onOrOff) {}
24 METHOD isDecor SbBool isDecoration()
25 {
26 Show/hide the viewer component trim (default on). See the viewer
27 constructor to prevent the decoration from being built.
28 }
29
30 METHOD SetPopupEnabled void setPopupMenuEnabled(SbBool trueOrFalse) {}
31 METHOD IsPopupEnabled SbBool isPopupMenuEnabled()
32 {
33 Enable/disable the viewer popup menu (default enabled). See the viewer
34 constructor to prevent the popup menu from being built.
35 }
36
37 METHOD getAppPushBtnParent Widget getAppPushButtonParent() const
38 {
39 Returns the parent widget, which is needed when creating new buttons.
40 Note: that if the decoration is \enot\. created in the constructor,
41 this will be NULL until the decoration is shown.
42 }
43
44 METHOD addAppPushBtn void addAppPushButton(Widget newButton) {}
45 METHOD insertAppPushBtn void insertAppPushButton(Widget newButton, int index) {}
46 METHOD removeAppPushBtn void removeAppPushButton(Widget oldButton) {}
47 METHOD findAppPushBtn int findAppPushButton(Widget oldButton) {}
48 METHOD lengthAppPushBtn int lengthAppPushButton()
49 {
50 Add/remove push buttons for the application, which will be
51 placed in the left hand side decoration trim. Adding buttons
52 appends them to the end of the list, while inserting them places
53 them at the desired index.
54 \p
55 Note: the button pixmaps should be 24-by-24 pixels size to nicely fit
56 into the decoration trim like the other viewer buttons.
57 }
58
59 METHOD getRAWidget Widget getRenderAreaWidget()
60 {
61 Returns the render area widget.
62 }
63
64 ALSO { SoXtViewer, SoXtComponent, SoXtRenderArea, SoXtExaminerViewer,
65 SoXtWalkViewer, SoXtFlyViewer, SoXtPlaneViewer }