Re: XForms: how to "parent" a form ?

From: Angus Leeming (angus.leeming@btopenworld.com)
Date: Sun Apr 13 2003 - 16:15:10 EDT

  • Next message: Angus Leeming: "Re: XForms: form with input object cratering app"

    # To subscribers of the xforms list from Angus Leeming <angus.leeming@btopenworld.com> :

    On Sunday 13 April 2003 9:10 am, Greg Hosler wrote:
    > # To subscribers of the xforms list from Greg Hosler <hosler@lugs.org.sg> :
    >
    > Hi,
    >
    > I have some forms (created with fl_bgn_form() ...)
    >
    > Th eproblem is that I want to parent certain forms to other forms, so that,
    > for example, the child form will never be obsecured by the parent form.
    >
    > I've searched the manual http://www.geocities.com/dan_aceja/xforms.html,
    > and I'm not seeing any references in the xforms library as to how to make a
    > form a child of another widget.
    >
    > I'm looking at XReparentWindow() as a possible way of re-parenting a form
    > after the fact, but I was hoping that the create form process would accept
    > a widget to be used as the parent.
    >
    > any way (within xforms) to parent a form ?

    I guess that this isn't the answer that you are looking for, but fl_show_form
    can be used to change the way the dialog behaves. Eg:

                    int const iconify_policy =
                            IconifyWithMain() ? FL_TRANSIENT : 0;

                    fl_show_form(form(),
                                 FL_PLACE_MOUSE | FL_FREE_SIZE,
                                 iconify_policy,
                                 maximize_title.c_str());

    Angus

    _________________________________________________
    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/
    Development: http://savannah.nongnu.org/files/?group=xforms



    This archive was generated by hypermail 2b29 : Sun Apr 13 2003 - 15:11:34 EDT