XmScaleSetTicks man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

XmScaleSetTicks(3)					    XmScaleSetTicks(3)

NAME
       XmScaleSetTicks — A Scale function that controls tick marks

SYNOPSIS
       #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
       XmScaleSetTicks	controls  the  number,	location, and size of the tick
       marks on a Scale. Each tick mark is a SeparatorGadget oriented  perpen‐
       dicular	to  the Scale's orientation. For example, if the Scale is ori‐
       ented horizontally, the tick marks will be oriented vertically.

       If you specify tick marks for a Scale and then change the Scale's  ori‐
       entation, 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.

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

RELATED
       XmScale(3).

							    XmScaleSetTicks(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net