*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> XmScaleSetTicks (3)              
Title
Content
Arch
Section
 

Contents


 XmScaleSetTicks(library call)                 XmScaleSetTicks(library call)




 NAME    [Toc]    [Back]
      XmScaleSetTicks - A Scale function that controls tick marks

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Scale.h>
      void XmScaleSetTicks(
      Widget scale,
      int big_every,
      Cardinal num_medium,
      Cardinal num_small,
      Dimension size_big,
      Dimension size_medium,
      Dimension size_small);

 DESCRIPTION    [Toc]    [Back]
      XmScaleSetTicks controls the number, location, and size of the tick
      marks on a Scale. Each tick mark is a SeparatorGadget oriented
      perpendicular to the Scale's orientation. For example, if the Scale is
      oriented horizontally, the tick marks will be oriented vertically.

      If you specify tick marks for a Scale and then change the Scale's
      orientation, you will have to do the following:

         +  Remove all the tick marks. To remove tick marks from a Scale,
            you must destroy (with XtDestroyChildren) the SeparatorGadget
            tick marks.  The first two children of a Scale are its title and
            scroll bar, and all additional children are tick marks.

         +  Recreate the tick marks by calling XmScaleSetTicks.

      scale     Specifies the Scale widget ID that is getting the tick
                marks.

      big_every Specifies the number of scale values between big ticks.

      num_medium
                Specifies the number of medium ticks between big values.

      num_small Specifies the number of small ticks between medium values.

      size_big  Specifies the size (either width or height) of the big
                ticks.

      size_medium
                Specifies the size (either width or height) of the medium
                ticks.

      size_small
                Specifies the size (either width or height) of the small
                ticks.




                                    - 1 -       Formatted:  January 24, 2005






 XmScaleSetTicks(library call)                 XmScaleSetTicks(library call)




      For a complete definition of Scale and its associated resources, see
      XmScale(3).

 RELATED    [Toc]    [Back]
      XmScale(3).


                                    - 2 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
VkTickMarks IRIX A component for displaying a vertical set of tick marks
XmScaleSetValue HP-UX A Scale function that sets a slider value
XmScaleSetValue Tru64 A Scale function that sets a slider value
XmCreateScale HP-UX The Scale widget creation function
XmCreateScale Tru64 The Scale widget creation function
XmScaleSetValue IRIX A Scale function that sets a slider value
XmCreateScale IRIX The Scale widget creation function
XmScaleGetValue IRIX A Scale function that returns the current slider position
XmScaleGetValue Tru64 A Scale function that returns the current slider position
XmScaleGetValue HP-UX A Scale function that returns the current slider position
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service