Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtcallbacka(3) [hpux 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()

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

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

3. Shell Programming and Scripting

popup message

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)
Discussion started by: elavv
0 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. 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

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

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

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

9. Shell Programming and Scripting

calling pl/sql procedure from shell and return values

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)
Discussion started by: bongo
0 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

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

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