1XmScrollVisible(library call) XmScrollVisible(library call)
2
3
4
6 XmScrollVisible — A ScrolledWindow function that makes an invisible
7 descendant of a ScrolledWindow work area visible
8
10 #include <Xm/ScrolledW.h>
11 void XmScrollVisible(
12 Widget scrollw_widget,
13 Widget widget,
14 Dimension left_right_margin,
15 Dimension top_bottom_margin);
16
18 XmScrollVisible makes an obscured or partially obscured widget or gad‐
19 get descendant of a ScrolledWindow work area visible. The function re‐
20 positions the work area and sets the specified margins between the wid‐
21 get and the nearest viewport boundary. The widget's location relative
22 to the viewport determines whether one or both of the margins must be
23 adjusted. This function requires that the XmNscrollingPolicy of the
24 ScrolledWindow widget be set to XmAUTOMATIC.
25
26 scrollw_widget
27 Specifies the ID of the ScrolledWindow widget whose work area
28 window contains an obscured descendant.
29
30 widget Specifies the ID of the widget to be made visible.
31
32 left_right_margin
33 Specifies the margin to establish between the left or right
34 edge of the widget and the associated edge of the viewport.
35 This margin is established only if the widget must be moved
36 horizontally to make it visible.
37
38 top_bottom_margin
39 Specifies the margin to establish between the top or bottom
40 edge of the widget and the associated edge of the viewport.
41 This margin is established only if the widget must be moved
42 vertically to make it visible.
43
44 For a complete definition of ScrolledWindow and its associated
45 resources, see XmScrolledWindow(3)
46
48 XmScrolledWindow(3).
49
50
51
52 XmScrollVisible(library call)