XtCallbackNone() XtCallbackNone()
Name
XtCallbackNone - callback function to pop up a widget.
Synopsis
void XtCallbackNone(w, client_data, call_data)
Widget w;
XtPointer client_data;
XtPointer call_data;
Inputs
w Specifies the widget.
client_data
Specifies the popup shell.
call_data Specifies the callback data, which is not used by this procedure.
Description
XtCallbackNone() calls XtPopup() on the widget passed in the client_data argument with grab_mode set to XtGrabNone. Then it calls XtSet-
Sensitive() on w to make that widget insensitive.
XtCallbackNone() is a convenience procedure designed to be registered on a widget's callback list (which is why it has a third, unused
argument). The widget to be popped up should be registered as client_data for the callback. The reason that this callback makes its
invoking widget insensitive is so that the user cannot request to popup the shell again while it is already up.
Usage
To popup a shell with an exclusive grab or with no grab at all, you can use XtCallbackExclusive() or XtCallbackNone(). To popdown a shell
from a callback, use XtCallbackPopdown().
Note that this function does not attempt to place the popup shell at any particular location, and for that reason may not be appropriate in
many circumstances.
It is also possible to pop up a shell with the XtMenuPopup action.
Example
To arrange for the shell pshell to be popped up when the user clicks on the button widget button, you would use code like the following:
XtAddCallback(button,XtNcallback,XtCallbackNone,pshell);
A companion example is presented on the XtCallbackPopdown() reference page.
See AlsoXtCallbackExclusive(1), XtCallbackNonexclusive(1), XtCallbackPopdown(1), XtMenuPopdown(1), XtMenuPopup(1), XtPopdown(1), XtPopup(1), XtSet-
Sensitive(1).
Xt - Pop Ups XtCallbackNone()
Check Out this Related Man Page
XtCallbackNonexclusive() XtCallbackNonexclusive()
Name
XtCallbackNonexclusive - callback function to pop up a widget.
Synopsis
void XtCallbackNonexclusive(w, client_data, call_data)
Widget w;
XtPointer client_data;
XtPointer call_data;
Inputs
w Specifies the widget.
client_data
Specifies the popup shell.
call_data Specifies the callback data, which is not used by this procedure.
Description
XtCallbackNonexclusive() calls XtPopup() on the widget passed in the client_data argument with grab_mode set to XtGrabNonexclusive. Then
it calls XtSetSensitive() on w to make that widget insensitive.
XtCallbackNonexclusive() is a convenience procedure designed to be registered on a widget's callback list (which is why it has a third,
unused argument). The widget to be popped up should be registered as client_data for the callback. The reason that this callback makes
its invoking widget insensitive is so that the user cannot request to popup the shell again while it is already up.
Usage
To popup a shell with a non-exclusive grab or with no grab at all, you can use XtCallbackNonexlusive() or XtCallbackNone(). To popdown a
shell from a callback, use XtCallbackPopdown().
Note that this function does not attempt to place the popup shell at any particular location, and for that reason may not be appropriate in
many circumstances.
It is also possible to pop up a shell with the XtMenuPopup action.
Example
To arrange for the shell pshell to be popped up when the user clicks on the button widget button, you would use code like the following:
XtAddCallback(button,XtNcallback,XtCallbackNonexclusive,pshell);
A companion example is presented on the XtCallbackPopdown() reference page.
See AlsoXtCallbackNone(1), XtCallbackExclusive(1), XtCallbackPopdown(1), XtMenuPopdown(1), XtMenuPopup(1), XtPopdown(1), XtPopup(1), XtSetSensi-
tive(1).
Xt - Pop Ups XtCallbackNonexclusive()
Hi,
I have a shell script that has to taken inputs from a file say "Inputs". Now I take 2 inputs at a time. Suppose the Inputs file contains numbers like
2
3
4
5
Now I have a written a script for adding 2 numbers. When I run the script for first time 2 and 3 must be the inputs. When i run the... (4 Replies)
Hi folks,
what is the command used to click on the 'x' button of popup browser window in perl windows.I am using WIN32::IEAutomation module.
Please any one can help on this.... (3 Replies)
file:///C:/DOCUME%7E1/eelavazh/LOCALS%7E1/Temp/moz-screenshot-1.jpgHI,,
I am new to the shell scripting and trying to be adopted soon...Can u please suggest me how do we populate a message when the following condition fails......
Thanks and Regards,
Ela
success250=`grep -c... (0 Replies)
Hi,
I work for Xerox.
As a new guy, I was recently pranked by the resident Solaris guru.:cool:
This is a celebrated event. I must now prank back in an equally flawless fashion.
I wish to get back to him by writing a script that will generate an annoying popup randomly, a small window that... (1 Reply)
Hi
i am calling a stored procedure from unix shell like this call
test_proc('0002','20100218');
the stored procedure was giving output
like this dbms_output.put_line(' processed earlier');
i want to see the output in the unix shell where i called.
Thanks
barani (6 Replies)
Hi,
Basically what I am trying to do is the following.
I have created a shell script to grab timetabling information from a website using curl then I crop out only the data I need which is a table based on the current date. It leaves me with a file that has the table I want plus a small amount... (2 Replies)
Hi Dudes :)
I want a unix shell script to pass value to SQL stored procedure.
Below is the procedure
declare
res varchar2(10);
begin
odm_load_check('PRE_SANITY',res);
dbms_output.put_line(res);
end;
select * from error_log;
truncate table error_log;
select * from test; (1 Reply)
How could I call an Oracle PL/SQL procedure from any shell (bash) and catch returning value from that procedure (out param) or get a returning value if it's a function.
also, I got into trouble when I tried to send a number as a param
#!/bin/bash -e
username=$1
pwd=$2
baza=$3... (0 Replies)
Hello,
I have to call the stored procedure as argument from the unix shell program. Looks like unix doesnt like, can someone comment pls
USERID=scott
PASSWD=xxxxxx
PLSQLCALL=$2
STDT=`sqlplus /nolog <<END >> $LOGFILE
conn ${USERID}/${PASSWD}@${ORACLE_SID}
whenever sqlerror exit failure... (9 Replies)
Hi all,
My oracle procedure returns more than one value.
i need to get one value at a time upto ending value ina shell script.
Please help me..... (9 Replies)
I want to create a simple html page that should contain 2 fields in which the user can write the input. Then I want to have a button that should launch a shell script with the parameters inserted by user in the fields from the webpage.
This is the code behind my webpage:
<html>
<form... (2 Replies)