Marcello Nuccio wrote:
>
> On Tue, Feb 06, 2001 at 05:52:31PM +1000, Allan Rae wrote:
>
> > you get _nothing_ because we can't raise an iconified dialog.
>
> Mozilla does it. I have Gnome+Sawfish, but I think it's possible with
> any WM.
>
This depends on the used toolkit.
Yes, you can raise and iconify every dialog shell from
the application if you have access to the appropriate
Xlib/Xt functions with the needed parameters.
(Mozilla does this, I guess.)
For example with the given shell widget:
XtVaSetValues(shell, XtNiconic, False, NULL);
XMapWindow(XtDisplay(shell), XtWindow(shell));
or
XtVaSetValues(shell, XtNiconic, True, NULL);
I don't know if XForms gives the programmer access to
these shell widget or gives the needed functions.
If you set your dialog to transient these all is builtin.
Regards,
Stephan
------------------------------------------------
<[EMAIL PROTECTED]> | beusen Solutions GmbH
fon: +49 30 549932-62 | Landsberger Allee 366
fax: +49 30 549932-21 | 12681 Berlin, Germany
------------------------------------------------