We know that when we open a popup window, if my IE, Yahoo tool bar enable the popup-blocker, then my window will be blocked. like my code.
If anyway we can do that it popup no matter whether got popup-blocker or not, maybe not using the window.open, but other means to have a popup like window? Please advice.
Thanks
The purpose is:
i have a page a.cgi, i click a [start] button in this web page, will open the popup window, which i can click [stop] on the popup window.
Hello,
We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
I'd like to be able to run a java program that utilizes the Swing libraries from an X Terminal interface to our UNIX box at work. At the command-line, if I type java SomeProgram where SomeProgram creates a JFrame, it causes havoc with any open xterm. All xterm windows lose their borders, title... (3 Replies)
Hi All,
Below I am discussing the problem I am facing while using pattern matching in Unix & Window. Plz hv a look into it.
================
my $s="UPDATE A
SET s="klkkk'
;" ;
if ( $s =~ m/^*UPDATE+/i )
{
print $s;
}
else
{ print "no match";}
===================
Both should... (6 Replies)
I am using GUI mode in Linux & face a problem that when ever i double click on any folder it opens in new Window. I want to ask all DP members where is the option to disable this thing..
Means i want when ever i double on folder it should open in the same Window. looking for your help.. (1 Reply)
Hi,
I am trying to open a console window through the HMC. When I choose to do this the toolbar at the top left of the HMC screen show 'Open Terminal Window'. However when I click on it I am getting the error -
"The tsak you want to switch to is an applet based task, which dowes not support... (1 Reply)
In OSX, I have created some custom... well.. I guess you'd call them Macros?? within the .profile file. Some of these "Macros" are to open specific directories in a Finder window.
Does anyone know what commands need to be used to have these folders open in LIST view, and maybe even be... (1 Reply)
Hello everyone
I don't know if it's the right place to ask, but I will try. I want to use Gtk2 in my Perl chart-drawing script, I found a sample code that could be very useful for me somewhere, but I noticed there is one problem with that - when I draw something, and then scroll the window or... (0 Replies)
Hello All
I am getting an issue which I want to share will all you guys
There is one windiows sercice running on my machine names Network Provisioning Service.
I developed the perl script which do
$service='Network Provisioning Service';
system('net stop $service');
When I manually... (1 Reply)
I would like to know XVFB is open source or not. (0 Replies)
Discussion started by: prathap.g
0 Replies
LEARN ABOUT HPUX
xtpopup
XtPopup() XtPopup()
Name
XtPopup - map a popup shell.
Synopsis
void XtPopup(popup_shell, grab_kind)
Widget popup_shell;
XtGrabKind grab_kind;
Inputs
popup_shell
Specifies a shell widget returned by XtCreatePopupShell().
grab_kind Specifies how user events should be constrained. (Can be one of XtGrabNone, XtGrabNonexclusive, XtGrabExclusive.)
Description
XtPopup() calls the functions registered on the shell's XtNpopupCallback list and pops up the shell widget (and its managed child). The
"Algorithm" section below explains this process in more detail.
If grab_kind is XtGrabNone, the resulting popup is "modeless", and does not lock out input events to the rest of the application. If it is
XtGrabNonexclusive, then the resulting popup is "modal" and locks out input to the main application window, but not to other modal popups
that are currently popped up. If it is XtGrabExclusive, then the resulting popup is modal and locks out input to the main application win-
dow and all previous popup windows. For more details on XtGrabNonexclusive and XtGrabExclusive, see XtAddGrab().
Usage
By default, XtPopup() maps its window to the upper-left corner of the display. You will generally want to position the shell by setting
its XtNx and XtNy resources before calling XtPopup().
The Intrinsics also provide convenience routines to popup a shell. To perform a pop up from a callback list, register one of the functions
XtCallbackNone(), XtCallbackNonexclusive(), or XtCallbackExclusive(). To do so from a translation table, use the XtMenuPopup action.
Widgets can be popped down with XtPopdown(), the XtCallbackPopdown() callback function, or the XtMenuPopdown action.
If you are using the Motif widget set, you will generally never need to call XtPopup() or XtPopdown(). The Motif XmDialogShell widget
automatically pops up when its child is managed, and pops down when its child is unmanaged.
Algorithm
The XtPopup() function performs the following:
o Calls XtCheckSubclass() to ensure popup_shell's class is a subclass of shellWidgetClass.
o Raises the window and returns if the shell's popped_up field is already True.
o Calls the callback procedures on the shell's XtNpopupCallback list, specifying a pointer to the value of grab_kind as the call_data
argument.
o Sets the shell popped_up field to True, the shell spring_loaded field to False, and the shell grab_kind field from grab_kind.
o If the shell's XtNcreatePopupChildProc resource is non-NULL, XtPopup() calls the specified procedure with popup_shell as the parameter.
o If grab_kind is either XtGrabNonexclusive or XtGrabExclusive, it calls:
XtAddGrab(popup_shell, (grab_kind == XtGrabExclusive), False)
o Calls XtRealizeWidget() with popup_shell specified.
o Calls XMapRaised() with the window of popup_shell.
Structures
The XtGrabKind type is defined as follows:
typedef enum {XtGrabNone, XtGrabNonexclusive, XtGrabExclusive} XtGrabKind;
See AlsoXtAddGrab(1), XtCallbackExclusive(1), XtCallbackNone(1), XtCallbackNonexclusive(1), XtCallbackPopdown(1), XtCreatePopupShell(1), XtMenuPop-
down(1), XtMenuPopup(1), XtPopdown(1), XtPopupSpringLoaded(1).
Xt - Pop Ups XtPopup()