Re: XForms: Iconifying and restoring windows

From: j.w.c.a. lokin (lokin@signaal.nl)
Date: Tue Mar 20 2001 - 03:17:40 EST

  • Next message: Steve Lamont: "Re: XForms: Iconifying and restoring windows"

    # To subscribers of the xforms list from "j.w.c.a. lokin" <lokin@signaal.nl> :

    John Levon wrote:
    >
    > # To subscribers of the xforms list from John Levon <moz@compsoc.man.ac.uk> :
    >
    > On Mon, 19 Mar 2001, j.w.c.a. lokin wrote:
    >
    > > # 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 can try working around this with XMapWindow() on the X Window id of
    > the form.

    Yep, it helps. One wonders why fl_winshow() doesn't do the same...

    -- 
    -+- 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 - 22:22:56 EST