Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmscalesetticks(3) [redhat man page]

XmScaleSetTicks(library call)											     XmScaleSetTicks(library call)

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 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: o 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. o 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(library call)

Check Out this Related Man Page

XmScaleSetTicks(library call)											     XmScaleSetTicks(library call)

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 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: o 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. o 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(library call)
Man Page

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How To Sort Array of Hashes ??

Some one plz help me how to sort an array of hashes ..... for e.g i have an array as @AoH = ( { ques => 10, marks => 32, }, { ques => 32, marks => 22, }, { ques => 2, marks => 41, }, ); now i want to sort this array with increasing value of "ques" ..... plz... (3 Replies)
Discussion started by: coolguyshail
3 Replies

2. HP-UX

Ticks in seconds.

Hello all, Is there any thumb rule or aproximation of the equivalence in second of one tick? Thank you in advance. (1 Reply)
Discussion started by: mig28mx
1 Replies

3. Shell Programming and Scripting

need help on initiallisation.. pls help !!!!

hi all , i am very new to unix and scripting language, can anybody explain to me what is the following statements mean? i cant find any exmaple on this. plese help... thanks a million. p/s : It's tickle. set about {} set a "\" # is this a <= 1digit.] ?? set b "" set c ""... (3 Replies)
Discussion started by: jade11
3 Replies

4. Shell Programming and Scripting

sed: how to replace regex with a ' (quote) mark

I've got a text file which has " marks where it there should be ' marks. I tried to do it with sed, but it won't allow me to escape the ' mark. Here's what I tried to do: sed 's/"/\\'/g' file.txt How can this be done? Thanks (3 Replies)
Discussion started by: CraigMoore
3 Replies

5. UNIX for Dummies Questions & Answers

Cannot see 'tick boxes' and other contents when installed programmes using Wine. Is there any other

(0 Replies)
Discussion started by: ubuntu_noob
0 Replies

6. Homework & Coursework Questions

Unix commands Help

I am struggling with one of my assignment questions, not sure how to go about coding it question is 2. The fille ~eliwp/marks is a colon separated list of students and their marks. Write a script to process this file printing out the id's of the students that have failed the module.... (2 Replies)
Discussion started by: tina_2010
2 Replies

7. UNIX for Advanced & Expert Users

Array Operations in tcl

I would like to create an array using tcl script which takes in name, id, and marks of many people in 3 subjects. I would like calculate the total marks of each person and rank them according to their marks. Taking name as my key for access i want to do sort and rank the person based on highest... (3 Replies)
Discussion started by: Carlton
3 Replies

8. UNIX Desktop Questions & Answers

What is the way to get a total count of students and with highest marks from a file?

I have different things that I was trying to do but am kind of struggling with this since I'm a Linux noob. I have a files with student names ,marks,year school the . What is the most efficient way to get a total count of students and student with highest marks Initially I tried to get a count... (1 Reply)
Discussion started by: anil2103
1 Replies

9. Shell Programming and Scripting

Comparing the values of two files

Hi Am trying to compare the values of two files.. One is a big file that has many values and the other is a small file.. The big file has all values present in small file.. # cat SmallFile 4456602 22347881 7471282 15859891 8257690 21954701 7078068 18219229 2883826 6094959 100000 ... (3 Replies)
Discussion started by: Priya Amaresh
3 Replies

10. Shell Programming and Scripting

Convert tick to new lines

i can convert ticks to new lines using something like this: tr '`' '\n' < filename or tr "\`" "\n" < filename or vice versa tr '\n' '`' < filename or tr "\n" "\`" < filename however, this command seems to not work the same on every system. it works on ubuntu, and it works on redhat... (4 Replies)
Discussion started by: SkySmart
4 Replies