Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtcallbackb(3) [hpux 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 Also
  XtCallbackNone(1), XtCallbackExclusive(1), XtCallbackPopdown(1), XtMenuPopdown(1), XtMenuPopup(1), XtPopdown(1), XtPopup(1), XtSetSensi-
  tive(1).

Xt - Pop Ups														  XtCallbackNonexclusive()

Check Out this Related Man Page

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 Also
  XtCallbackExclusive(1), XtCallbackNonexclusive(1), XtCallbackPopdown(1), XtMenuPopdown(1), XtMenuPopup(1), XtPopdown(1), XtPopup(1), XtSet-
  Sensitive(1).

Xt - Pop Ups															  XtCallbackNone()
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

pass by reference in shell

Hi, I would like to write a function which takes one integer argument and adds 10 to it. But, I'd like to return the result in the data that was passed in. Is this possible? function1() { 1=$(($1+10)) } my_number=1 function "$my_number" echo $my_number I'd like the echo... (1 Reply)
Discussion started by: csejl
1 Replies

2. Shell Programming and Scripting

Shell arrays in oracle stored procedure

Is it possible to pass unix shell arrays in Oracle stored procedure? Is yes, how? Thanks (6 Replies)
Discussion started by: superprogrammer
6 Replies

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

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

No 1 answering my question... any reason ?

can some one please help me at my post ? for hours yet being ignored Need help on this: nonsense. can't even solve forum ask people redo whole code. LMAO - after asking 101 qns the pre result should be like this: A A A A A A A A A A A A A A A A A A A A A A A A A... (27 Replies)
Discussion started by: nanochan1
27 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