1XmScaleSetTicks(library call)                    XmScaleSetTicks(library call)
2
3
4

NAME

6       XmScaleSetTicks — A Scale function that controls tick marks
7

SYNOPSIS

9       #include <Xm/Scale.h>
10       void XmScaleSetTicks(
11       Widget scale,
12       int big_every,
13       Cardinal num_medium,
14       Cardinal num_small,
15       Dimension size_big,
16       Dimension size_medium,
17       Dimension size_small);
18

DESCRIPTION

20       XmScaleSetTicks  controls  the  number,  location, and size of the tick
21       marks on a Scale. Each tick mark is a SeparatorGadget oriented  perpen‐
22       dicular  to  the Scale's orientation. For example, if the Scale is ori‐
23       ented horizontally, the tick marks will be oriented vertically.
24
25       If you specify tick marks for a Scale and then change the Scale's  ori‐
26       entation, you will have to do the following:
27
28          ·  Remove all the tick marks. To remove tick marks from a Scale, you
29             must destroy (with XtDestroyChildren)  the  SeparatorGadget  tick
30             marks.   The  first  two  children  of  a Scale are its title and
31             scroll bar, and all additional children are tick marks.
32
33          ·  Recreate the tick marks by calling XmScaleSetTicks.
34
35       scale     Specifies the Scale widget ID that is getting the tick marks.
36
37       big_every Specifies the number of scale values between big ticks.
38
39       num_medium
40                 Specifies the number of medium ticks between big values.
41
42       num_small Specifies the number of small ticks between medium values.
43
44       size_big  Specifies the size (either width or height) of the big ticks.
45
46       size_medium
47                 Specifies the size (either width or  height)  of  the  medium
48                 ticks.
49
50       size_small
51                 Specifies  the  size  (either  width  or height) of the small
52                 ticks.
53
54       For a complete definition of Scale and its  associated  resources,  see
55       XmScale(3).
56
58       XmScale(3).
59
60
61
62                                                 XmScaleSetTicks(library call)
Impressum