1SoXtSliderSetBase(3IV)() SoXtSliderSetBase(3IV)()
2
3
4
6 SoXtSliderSetBase — abstract base class for Motif-only slider compo‐
7 nents
8
10 SoXtComponent > SoXtSliderSetBase
11
13 #include <Inventor/Xt/SoXtSliderSetBase.h>
14
15 Methods from class SoXtSliderSetBase:
16
17 virtual void setNode(SoNode *newNode)
18 SoNode * getNode() const
19
20 Methods from class SoXtComponent:
21
22 virtual void show()
23 virtual void hide()
24 SbBool isVisible()
25 Widget getWidget() const
26 SbBool isTopLevelShell() const
27 Widget getShellWidget() const
28 Widget getParentWidget() const
29 void setSize(const SbVec2s &size)
30 SbVec2s getSize()
31 Display * getDisplay()
32 void setTitle(const char *newTitle)
33 const char * getTitle() const
34 void setIconTitle(const char *newIconTitle)
35 const char * getIconTitle() const
36 void setWindowCloseCallback(SoXtComponentCB *func,
37 void *data = NULL)
38 static SoXtComponent * getComponent(Widget w)
39 const char * getWidgetName() const
40 const char * getClassName() const
41
42
44 This class is used as a base class for all editors which use Motif
45 sliders to edit fields in an Inventor scene graph node. This class is
46 not meant to be instanced by programmers who want to use an editor in a
47 program. It should only be used as a base class when designing new edi‐
48 tors.
49
50 SoXtSliderSetBase is derived from SoXtComponent, but adds three con‐
51 cepts. First, there is a node to edit. Second, there are subcomponents.
52 When an SoXtSliderSetBase is shown or hidden, so are its subcomponents.
53 (As an example, an SoXtTransformSliderSet is composed of many subcompo‐
54 nents). Third, an SoXtSliderSetBase has a layout size, which is used to
55 lay out the subcomponents.
56
58 virtual void setNode(SoNode *newNode)
59 Sets a new node as the node to be modified by this editor component.
60
61 SoNode * getNode() const
62 Returns a pointer to the node currently being modified by this edi‐
63 tor component.
64
65
67 SoXtComponent, SoXtSliderSet
68
69
70
71
72 SoXtSliderSetBase(3IV)()