Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtcallbackexclusive(3) [hpux man page]

XtCallbackExclusive()													     XtCallbackExclusive()

Name
  XtCallbackExclusive - callback function to pop up a widget.

Synopsis
  void XtCallbackExclusive(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
  XtCallbackExclusive()  calls	XtPopup()  on  the  widget passed in the client_data argument with grab_mode set to XtGrabExclusive.  Then it
  calls XtSetSensitive() on w to make that widget insensitive.

  XtCallbackExclusive() 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 XtCallbackNonexclusive() 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,XtCallbackExclusive,pshell);

  A companion example is presented on the XtCallbackPopdown() reference page.

See Also
  XtCallbackNone(1), XtCallbackNonexclusive(1), XtCallbackPopdown(1), XtMenuPopdown(1), XtMenuPopup(1), XtPopdown(1), XtPopup(1), XtSetSensi-
  tive(1).

Xt - Pop Ups														     XtCallbackExclusive()

Check Out this Related Man Page

XtCallbackExclusive()													     XtCallbackExclusive()

Name
  XtCallbackExclusive - callback function to pop up a widget.

Synopsis
  void XtCallbackExclusive(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
  XtCallbackExclusive()  calls	XtPopup()  on  the  widget passed in the client_data argument with grab_mode set to XtGrabExclusive.  Then it
  calls XtSetSensitive() on w to make that widget insensitive.

  XtCallbackExclusive() 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 XtCallbackNonexclusive() 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,XtCallbackExclusive,pshell);

  A companion example is presented on the XtCallbackPopdown() reference page.

See Also
  XtCallbackNone(1), XtCallbackNonexclusive(1), XtCallbackPopdown(1), XtMenuPopdown(1), XtMenuPopup(1), XtPopdown(1), XtPopup(1), XtSetSensi-
  tive(1).

Xt - Pop Ups														     XtCallbackExclusive()
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Inputs from a file

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)
Discussion started by: sendhil
4 Replies

2. UNIX for Dummies Questions & Answers

Shell Sript

Hi All, I have four different files in four different directories. Each file contains exactly the same format logincode Forename Surname TutGroup Mark Basically i want to grab all the marks from each file and put them onto the end of one login code by using a shell script. I can grab all... (3 Replies)
Discussion started by: jazz8146
3 Replies

3. Shell Programming and Scripting

win32::IEAutomation

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)
Discussion started by: jyo123.jyothi
3 Replies

4. Shell Programming and Scripting

tranpose but some difference

hi i have some data like 1 2 3 4 5 6 7 8 i want to arrange like this 1 2 3 4 5 6 7 8 (6 Replies)
Discussion started by: narang.mohit
6 Replies

5. UNIX and Linux Applications

webinject - dealing with popups

Hello We have a webapp that launches a link in a popup. We need to use webinject to check the content of that popup but have been so far unsuccessful. We use webinject as a nagios plugin. Does anyone have any experience of using/configuring webinject and know if this is possible or not? ... (1 Reply)
Discussion started by: skewbie
1 Replies

6. Shell Programming and Scripting

Writing an annoying popup window

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)
Discussion started by: orchus
1 Replies

7. Shell Programming and Scripting

how to pass the values to unix shell from the oracle stored procedure.

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)
Discussion started by: barani75
6 Replies

8. Shell Programming and Scripting

Converting html table data into multiple variables.

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)
Discussion started by: domsmith
2 Replies

9. Shell Programming and Scripting

Passing a value to stored procedure from unix shell script

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)
Discussion started by: shirdi
1 Replies

10. Shell Programming and Scripting

input stored procedure to shell program

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)
Discussion started by: tvanoop
9 Replies

11. Shell Programming and Scripting

How to call a stored procedure from shell program?

How to call a stored procedure from shell program (1 Reply)
Discussion started by: noorm
1 Replies

12. Shell Programming and Scripting

calling a plsql procedure through shell script

I have a plsql procedure inside a package which is having one IN parameter .I want to call that procedure through a shell script and that IN parameter is a column of a table in the database. So my requirement is that i need to loop all the entries of that IN parameter from the table through shell... (4 Replies)
Discussion started by: rspnf
4 Replies

13. Shell Programming and Scripting

Grab the return value of df -H-m

Hi to everyone :) Quick question how do i grab the return value on the 5 position here : sgs@sibs:~$ df -H -m Sist.fichs 1M-blocos Used Available Use% Mounted on /dev/sda1 35542 18904 14833 57% / In this case the Use% value . I need to... (9 Replies)
Discussion started by: drd0spt
9 Replies

14. Shell Programming and Scripting

Processing values from Oracle procedure

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)
Discussion started by: pmreddy
9 Replies

15. Shell Programming and Scripting

Launch shell script with parameters from a webpage button

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)
Discussion started by: black_fender
2 Replies