# To subscribers of the xforms list from "j.w.c.a. lokin" <lokin@signaal.nl> :
Steve Lamont wrote:
>
> # To subscribers of the xforms list from Steve Lamont <spl@ncmir.ucsd.edu> :
>
> > I need to iconify and restore forms on some specific events. I did
> > consult the manual pages and tried several ways, but I am still
> > unsuccessful. I am a bit surprized since it seems I've used X-forms for
> > years now to be quite a basic action !
>
> fl_iconify() will send a request to your window manager to iconify the
> Window containing the form. fl_winshow() may redisplay it.
Indeed, it may. If the form is transient the program seems to hang in
the call to fl_winshow() and more specifically in the call to
wait_mapwin(). It may seem stupid to want to uniconify transient forms,
but olvwm, which I otherwise like, does not uniconify the transient
windows when I uniconify the "parent".
> You may have to issue an fl_redraw_form() to cause the form to redraw itself
> after deiconification since an Expose event may or may not get sent.
>
> I am somewhat indefinite in my answer because iconification of Windows
> is under the control of your window manager and not all window
> managers respond to a WM_CHANGE_STATE property in the same way. You
> may wish to use fl_hide_form() and fl_show_form() to do this instead
> since they produce more reliable results.
>
> spl
> _________________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request@bob.usuhs.mil or see
> http://bob.usuhs.mil/mailserv/xforms.html
> XForms Home Page: http://world.std.com/~xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
-- -+- Jan Willem Lokin -+- _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuhs.mil or see http://bob.usuhs.mil/mailserv/xforms.html XForms Home Page: http://world.std.com/~xforms List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Mon Mar 19 2001 - 05:25:14 EST