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
XmScrollVisible(library call) XmScrollVisible(library call)
NAME
XmScrollVisible -- A ScrolledWindow function that makes an invisible
descendant of a ScrolledWindow work area visible
SYNOPSIS
#include <Xm/ScrolledW.h>
void XmScrollVisible(
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 re-
positions the work area and sets the specified margins between the widget and the nearest viewport boundary. The widget's location relative
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.
scrollw_widget
Specifies the ID of the ScrolledWindow widget whose work area window contains an obscured descendant.
widget Specifies the ID of the widget to be made visible.
left_right_margin
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 visible.
top_bottom_margin
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(3)RELATED XmScrolledWindow(3).
XmScrollVisible(library call)
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)
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)
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)
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)
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)
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)
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)
************* 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)
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)
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)
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)
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)
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)
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)
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)