Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmscrollvisible(3x) [osf1 man page]

XmScrollVisible(3X)													       XmScrollVisible(3X)

NAME
XmScrollVisible - A ScrolledWindow function that makes an invisible descendant of a ScrolledWindow work area visible SYNOPSIS
#include <Xm/ScrolledW.h> void XmScrollVisible (scrollw_widget, widget, left_right_margin, top_bottom_margin) Widget scrollw_widget; Widget widget; Dimension left_right_margin; Dimension top_bottom_margin; DESCRIPTION
XmScrollVisible makes an obscured or partially obscured widget or gadget descendant of a ScrolledWindow work area visible. The function repositions the work area and sets the specified margins between the widget and the nearest viewport boundary. The widget's location rela- tive to the viewport determines whether one or both of the margins must be adjusted. This function requires that the XmNscrollingPolicy of the ScrolledWindow widget be set to XmAUTOMATIC. Specifies the ID of the ScrolledWindow widget whose work area window contains an obscured descendant. Specifies the ID of the widget to be made visible. Specifies the margin to establish between the left or right edge of the widget and the associated edge of the viewport. This margin is established only if the widget must be moved horizontally to make it visi- ble. Specifies the margin to establish between the top or bottom edge of the widget and the associated edge of the viewport. This margin is established only if the widget must be moved vertically to make it visible. For a complete definition of ScrolledWindow and its associated resources, see XmScrolledWindow(3X). SEE ALSO
XmScrolledWindow(3X) XmScrollVisible(3X)

Check Out this Related Man Page

XmScrolledWindowSetAreas(library call)									    XmScrolledWindowSetAreas(library call)

NAME
XmScrolledWindowSetAreas -- A ScrolledWindow function that adds or changes a window work region and a horizontal or vertical ScrollBar wid- get to the ScrolledWindow widget SYNOPSIS
#include <Xm/ScrolledW.h> void XmScrolledWindowSetAreas( Widget widget, Widget horizontal_scrollbar, Widget vertical_scrollbar, Widget work_region); DESCRIPTION
XmScrolledWindowSetAreas adds or changes a window work region and a horizontal or vertical ScrollBar widget to the ScrolledWindow widget for the application. Each widget is optional and may be passed as NULL. This function is obsolete and exists for compatibility with other releases. Use the XmNscrolledWindowChildType resource of XmScrolledWindow instead. widget Specifies the ScrolledWindow widget ID. horizontal_scrollbar Specifies the ScrollBar widget ID for the horizontal ScrollBar to be associated with the ScrolledWindow widget. Set this ID only after creating an instance of the ScrolledWindow widget. The resource name associated with this argument is XmNhorizontalScroll- Bar. vertical_scrollbar Specifies the ScrollBar widget ID for the vertical ScrollBar to be associated with the ScrolledWindow widget. Set this ID only after creating an instance of the ScrolledWindow widget. The resource name associated with this argument is XmNverticalScrollBar. work_region Specifies the widget ID for the work window to be associated with the ScrolledWindow widget. Set this ID only after creating an instance of the ScrolledWindow widget. The attribute name associated with this argument is XmNworkWindow. For a complete definition of ScrolledWindow and its associated resources, see XmScrolledWindow(3). RELATED
XmScrolledWindow(3). XmScrolledWindowSetAreas(library call)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

How to periodically execute a function in C ??

Hi, I am looking for a C library feature, to which I can say execute a function every 10 seconds. for Eg #include <timer_lib.h> fun1(){ printf("I am still cool "); } int main(){ run(10,&fun1); // Should register & execute the function fun1 every 10 seconds return 0x0; }... (24 Replies)
Discussion started by: RipClaw
24 Replies

2. Shell Programming and Scripting

Determining number of overlaps between two files using Hashes?

Hi there, I have a doubt about how to set this up. This is the situation. I have two files, one that is ~31,000 in length and has the following information (7 fields): file1 1 + 100208127 100261594 6 100208127,100231680,100237404,100245177,100249508,100260529, ... (35 Replies)
Discussion started by: labrazil
35 Replies

3. Shell Programming and Scripting

Deleting of Specific Rows.

Fruit : Price : Quantity apple : 20 : 40 chiku : 40 :30 Hey guys, i have written a code using sed to delete a specific char which is being typed in. But the problem i am having is , how can i expand my coding to actually allow it do delete the whole row. For example,... (21 Replies)
Discussion started by: gregarion
21 Replies

4. Shell Programming and Scripting

Whats wrong in the Function ?

Need your assistance, to find the bug in the function. Function usage erroring out even after passing parameters. usage() { if || ; then echo "************************************************************" echo " CHECK USAGE FOR CORRECT PARAMETERS ... (26 Replies)
Discussion started by: raghunsi
26 Replies

5. Shell Programming and Scripting

ksh using `` or $()

In csh I use opt=` echo $arg | awk 'BEGIN {FS="="} {print $1}' ` I am wondering what I should use when using ksh opt=$(print -R $arg | awk 'BEGIN {FS="="} {print $1}') or opt=` print -R $arg | awk 'BEGIN {FS="="} {print $1}' ` (31 Replies)
Discussion started by: kristinu
31 Replies

6. Solaris

Problems managing user

I installed Solaris 10 in an old Dell computer given to me. The filesystem is ZFS (Default). The problem is that after logging in as root (first login) I wanted to add a user : n2jkw. I added the user at /export/home/n2jkw BTW, /export/home is where the 150G extra Hard Drive is mounted to.... (20 Replies)
Discussion started by: n2jkw
20 Replies

7. Shell Programming and Scripting

Foreach issue

Hello, I found that this foreach should work with two lists (source: Wikipedia.org) foreach i {1 2 3} j {a b c} { puts "$i $j"} == I try smth. like: With two text files: first.part second.part foreach first (`cat first.part`) second (`cat second.part`) toolcommand $first... (22 Replies)
Discussion started by: unknown7
22 Replies

8. Shell Programming and Scripting

how to write a function or awk fn ? , please help !!

************* fixed *************** Begin equipmentId : d9 processor : fox number : bhhhhhh Variable # 1: Id : 100 Type : 9 nType : s gType : 5f mType : 4 LField : England DataField : london Length : 4 End (20 Replies)
Discussion started by: teefa
20 Replies

9. UNIX for Dummies Questions & Answers

[Solved] take name of directory and files as variables

hi, want to create script that takes name of directory and all files and will copy each file to new directory. then fix errors like files do not exist or no permission to create new directory... these what I have so far... #!/bin/sh dir=~/Documents/Scripts/Copy for i in $(pwd) $(ls)... (23 Replies)
Discussion started by: me.
23 Replies

10. Shell Programming and Scripting

Search for file, give error if more than one file is found

Want to write a function that prints an error when passed a list of file names. If the file list is empty, print error "no file found", if there are more than one file, print "error more than one file found" (22 Replies)
Discussion started by: kristinu
22 Replies

11. Fedora

Shell parameter definition

Hi Folks, I have a script called program.sh which was written by someone. I am supposed to edit it for my necessities. There is a line in the script that is as follows if ]; then echo -e "Option limit should be positive number and less than 1. Program aborts!" exit 1 ... (27 Replies)
Discussion started by: jacobs.smith
27 Replies

12. UNIX for Dummies Questions & Answers

How to make Alias?

Dear all, I'm new in unix systm , I try to write alias script: alias hr= cd/home/hmi/bin/Log and this work, but when i quit from unix and login again, this can't work again. how to create alias that can work anytime thank you (19 Replies)
Discussion started by: aish11
19 Replies

13. Shell Programming and Scripting

Need help comparing Base Pairs within PERL

Hi I have a multi-step project I am working on and have been finding it difficult to come up with the correct approach. The data I have been given resembles: Index Chr Genotype Mutation Type 1 Chr1 TT Intronic 2 Chr1 AA ... (27 Replies)
Discussion started by: drossy
27 Replies

14. Shell Programming and Scripting

[Condition] if then else

Hi, I want to test some commands in a script but it doesn't work.. Can you help me ? my_script file1nom=$1 for FILE in $(find temp/ -name "$nom"); do echo $nom; done 2> /dev/null name_log=$(basename "${FILE}") if ; then echo $nom else echo -e "There is no file "$nom"" ... (23 Replies)
Discussion started by: amazigh42
23 Replies

15. Shell Programming and Scripting

Script to change password in UNIX

Hi Friends, Every morning i need to change the password, please advise how it can be automated. I am having pre planned password list for 4 months which can be used as input file for new passwords. Thanks (28 Replies)
Discussion started by: rajjev_saini123
28 Replies