Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmscrollbargetvalues(3) [redhat man page]

XmScrollBarGetValues(library call)										XmScrollBarGetValues(library call)

NAME
XmScrollBarGetValues -- A ScrollBar function that returns the ScrollBar's increment values SYNOPSIS
#include <Xm/ScrollBar.h> void XmScrollBarGetValues (widget, value_return, slider_size_return, increment_return, page_increment_return) Widget widget; int * value_return; int * slider_size_return; int * increment_return; int * page_increment_return; (void) DESCRIPTION
XmScrollBarGetValues returns the the ScrollBar's increment values. The scroll region is overlaid with a slider bar that is adjusted in size and position using the main ScrollBar or set slider function attributes. widget Specifies the ScrollBar widget ID. value_return Returns the ScrollBar's slider position between the XmNminimum and XmNmaximum resources. Specify NULL to prevent the return of a particular value. slider_size_return Returns the size of the slider as a value between 0 (zero) and the absolute value of XmNmaximum minus XmNminimum. The size of the slider varies, depending on how much of the slider scroll area it represents. increment_return Returns the amount of increment and decrement. page_increment_return Returns the amount of page increment and decrement. For a complete definition of ScrollBar and its associated resources, see XmScrollBar(3). RETURN
Returns the ScrollBar's increment values. RELATED
XmScrollBar(3). XmScrollBarGetValues(library call)

Check Out this Related Man Page

XmScrollBarSetValues(library call)										XmScrollBarSetValues(library call)

NAME
XmScrollBarSetValues -- A ScrollBar function that changes ScrollBar's increment values and the slider's size and position SYNOPSIS
#include <Xm/ScrollBar.h> void XmScrollBarSetValues (widget, value, slider_size, increment, page_increment, notify) Widget widget; int value; int slider_size; int increment; int page_increment; Boolean notify; (void) DESCRIPTION
XmSetScrollBarValues changes the ScrollBar's increment values and the slider's size and position. The scroll region is overlaid with a slider bar that is adjusted in size and position using the main ScrollBar or set slider function attributes. widget Specifies the ScrollBar widget ID. value Specifies the ScrollBar's slider position. Refer to the XmNvalue resource described on XmScrollBar(3). slider_size Specifies the size of the slider. Refer to the XmNsliderSize resource described on XmScrollBar(3). This argument sets that resource. Specify a value of 0 (zero) if you do not want to change the value. increment Specifies the amount of button increment and decrement. Refer to the XmNincrement resource described on XmScrollBar(3). This argument sets that resource. Specify a value of 0 (zero) if you do not want to change the value. page_increment Specifies the amount of page increment and decrement. Refer to the XmNpageIncrement resource described on XmScrollBar(3). This argument sets that resource. Specify a value of 0 (zero) if you do not want to change the value. notify Specifies a Boolean value that, when True, indicates a change in the ScrollBar value and also specifies that the ScrollBar widget automatically activates the XmNvalueChangedCallback with the recent change. If it is set to False, it specifies any change that has occurred in the ScrollBar's value, but does not activate XmNvalueChangedCallback. For a complete definition of ScrollBar and its associated resources, see XmScrollBar(3). RELATED
XmScrollBar(3). XmScrollBarSetValues(library call)
Man Page

14 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

increment a Variable

hi, i want to increment a Variable but it doesnt work. here my codé COUNT=1 COUNT= 'expr $COUNT + 1' i've tried it in the prompt but it print me: expr: syntaxerror What does I make wrong? (4 Replies)
Discussion started by: cengiz
4 Replies

2. Shell Programming and Scripting

Can we increment or decrement a date value?

export a=`date` a=`expr $a + 1` Is it possible? if not how can i increment or decrement a date variable? (2 Replies)
Discussion started by: arghya_owen
2 Replies

3. Shell Programming and Scripting

Problem outputting increment

With this script the output to the terminal does not increment. Can anyone tell me what I need to do to get this to increment output to the terminal? Here is the output mpath major,minor number ls: /dev/mapper/mpathp1: No such file or directory raw device output 253,44 echo raw device... (5 Replies)
Discussion started by: bash_in_my_head
5 Replies

4. Shell Programming and Scripting

Check file and increment

My scripts excepts 4 files ABCD_01 ABCD_02 ABCD_03 ABCD_04 I want to check for these files , and increment counter one by one . at the end i would like to echo as 4 of 4 expected instances of file found . I tried something like thsi $counter =1 if counter=counter+1 i need... (5 Replies)
Discussion started by: ultimatix
5 Replies

5. Shell Programming and Scripting

decrementation of a string in perl

Hi everybody. I'm looking for a small function in perl to decrement a string. For incrementing I could use the following script that is working without problem: #!/usr/bin/perl use strict; use warnings; my $string=MNO; my $n; print "\n start value : string\n"; for ($n=1; $n<=3;... (1 Reply)
Discussion started by: Tedor
1 Replies

6. Programming

[Xquery] How to do a increment in a For loop

Hello men. How can i build a simple increment for $a by Xquery such as ? let $a := 0 for $i in (1 to 10) let $a := $a + 1 return $a why a in this loop always is '1' Thank you for reading, its will really helpful for my job if i can solve this problem :D:D (3 Replies)
Discussion started by: tien86
3 Replies

7. Shell Programming and Scripting

Arithmetic but keep 2 decimal places

I am trying to perform arithmetric, for example, to increment the value of variable $a (say 3) by 0.05 but when I tried the following expression let a=a+0.05 or a=$((a+0.05)) both returned 3.0499999999999998 I want to keep 2 decimal places so it returns 3.05 instead. (6 Replies)
Discussion started by: piynik
6 Replies

8. Shell Programming and Scripting

String increment in UNIX

Hi, I am able to increment numbers but unable to increment the charters in unix -AIX. Source : AAA BB CCC Increment Number : 5 OUTPUT: AAA BB CCC AAA BB CCD AAA BB CCE AAA BB CCF AAA BB CCG Thanks onesuri Please use CODE tags as required by the forum rules. I have made a wild... (5 Replies)
Discussion started by: onesuri
5 Replies

9. Shell Programming and Scripting

Find and increment at each occurence of string (loop)

I created script (sh shell) to generate vlc playlist based on some data files. All works fine so far except one string I do not know how to handle with. VLCSTART='<vlc:id>' VLCV=0 VLCEND='</vlc:id>' echo -e $'\n'$'\t'$'\t'$'\t'$'\t'\$VLCSTART$VLCV$VLCENDOutput file contains several occurences... (10 Replies)
Discussion started by: TiedCone
10 Replies

10. Shell Programming and Scripting

Check increment values in column

Gents, I have a file where i would like to check the constant increment by 2 in column 2. 5450 1000 5450 1002 5450 1004 5450 1006 5465 1000 5465 1002 5465 1006 5465 1008 5550 1002 5550 1004 5550 1006 5550 1008 6830 1000 6830 1002 6830 1008 6830 1010 (6 Replies)
Discussion started by: jiam912
6 Replies

11. Shell Programming and Scripting

Find a word and increment the number in the word & save into new files

Hi All, I am looking for a perl/awk/sed command to auto-increment the numbers line in file, P1.tcl: run_build_model sparc_ifu_dec run_drc set_faults -model path_delay -atpg_effectiveness -fault_coverage add_delay_paths P1 set_atpg -abort_limit 1000 run_atpg -ndetects 1000 I would like... (6 Replies)
Discussion started by: jypark22
6 Replies

12. Shell Programming and Scripting

Parallel increment of nested for loop

Hi, I am using solaris 5.10 environment and need help on doing parallel increment of nested for loop. Samples #inside the code the values assigned to a variable by another awk command will be like a=/xyz/pg/as /xyz/pg/as2 /xyz/pg/as3 b=/xyz/sd/fd1 /xyz/sd/fd2 /xyz/sd/fd3 for q in... (1 Reply)
Discussion started by: ananan
1 Replies

13. UNIX for Beginners Questions & Answers

How to increment version inside a file?

Hi All, I need to write a shell script which opens a file and increments the version(text) within the file every time the script runs. For example: $ cat docker_file.yml version: '3.1' services: ui: image: repo-srv.dev.io:5000/facebook/ui:0.0.2-QA1 $ So, I would like... (6 Replies)
Discussion started by: akshayupadhayay
6 Replies

14. UNIX for Beginners Questions & Answers

Urgent for date increment

hi all, i would like to increment the date variable i am using for((i=20190731;i<=20190801;i++)) do done after 20190731 it should be 20190801 but this taking as 20190732,20190733.... kindly help me to solve this (3 Replies)
Discussion started by: prathaban
3 Replies