9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
I need something like a pop-up while clicking on shutdown button or reboot button in GUI and also while running the command reboot / shutdown / init it should ask some confirmation message.. Do you want to do so..and so.
How can i make this possible ?
. (4 Replies)
Discussion started by: linuxadmin
4 Replies
2. Shell Programming and Scripting
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
3. Shell Programming and Scripting
Hi,
I am trying to automate one of the application using IE:Auotmation in perl
My web application has few text fields and 2 buttons "Save Changes" and "Discard Changes".I have written code to enter values to the text fields fetching from input file and click the button "Save Changes".As soon as... (0 Replies)
Discussion started by: jyo123.jyothi
0 Replies
4. Shell Programming and Scripting
Hi ,
this is my first querry in this forum and I am new bee to the shell scripting..Please have a glance on my query and give ur valuable suggestions .
I have a crown job which performs one function,If the job has done successfully we need to send message to some group as "SUCCESSFUL" or else we... (0 Replies)
Discussion started by: elavv
0 Replies
5. Cybersecurity
Hi,
Sorry if this is in the wrong forum.
Anyway help I would appreciate.
How do or or where would I find info (tried google but it's just a bit hard to understand & have no how to implement it).
What I've got is a standard garden variety user registration form (php). It allows people to... (1 Reply)
Discussion started by: justanob
1 Replies
6. Solaris
Hi,
I have written a service script(service.sh) for my application which will add my application(BTINM) as service and start the service. Internally inside the script i will call the sh script which will start my application server. When my application server starts a UI opens saying that the... (5 Replies)
Discussion started by: krevathi1912
5 Replies
7. UNIX for Dummies Questions & Answers
Hi guys, I'm new to these forums. I'm more of a Windows guy, but I work at an electronics manufacture company that uses Solaris 10 extensively. We have Sunfire v480 servers set up to do system level testing. Everything is networked so you telnet into any server from any computer in the facility.... (1 Reply)
Discussion started by: Daniel.a
1 Replies
8. Solaris
Does anyone know how to create a popup window in solaris 8 and later?
I want to create and load a popup window when a user logon to a solaris machine and inform the user about some environment changes we have done.
Can this easily be done? And if soo how?
/Tony (0 Replies)
Discussion started by: tonlu
0 Replies
9. UNIX for Dummies Questions & Answers
I would like to display a popup message to my clients when they connect to my samba share explaining certain file restricitions and maintenance instructions. How do I go about this method? Right now I'm sharing linux with mac clients and pc's, but can only display a message with my mac clients. ... (4 Replies)
Discussion started by: benzo
4 Replies
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()