On 07 Feb 2001 12:20:57 -0800, Abinash Yadav wrote:
>
> I was thinking of notifying the user, status of
> application(watch cursor or some other mean,like pop
> up box) when he invokes it, and application takes time
> to come up.
>
> as there are many big applications which takes lots of
> time to come-up and meantime user just thinks wheather
> application is running or its dead.
>
> is it possible with fvwm, how ?
Yes, starting from 2.3.10 this is possible, for example:
BusyCursor Wait True
AddToFunc StartMyApp
+ I Exec exec $0
+ I Wait *
StartMyApp "xterm -g 80x40"
StartMyApp "xcalc"
NOTE: If your app was not started, press Ctrl-Alt-Esc to break out Wait.
But... The watch cursor is only shown on the root window, and not inside
existing windows. This can't be fixed without introducing X problems.
If your app comes slowly, you may use "pop-up" window (may work in 2.2.x):
DestroyFunc StartMyVerySlowApp
AddToFunc StartMyVerySlowApp
+ I Exec exec xmessage -name "NotificationWindow" "Starting $0..."
+ I Wait NotificationWindow
+ I Exec exec $0
+ I Wait *
+ I Next (NotificationWindow) Close
Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Feb 07 2001 - 19:48:06 GMT