Re: XForms: more on formbrowser and image form

From: Steve Lamont (spl@szechuan.ucsd.edu)
Date: Thu May 11 2000 - 10:02:01 EDT

  • Next message: T.C. Zhao: "Re: XForms: more on formbrowser and image form"

    # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

    > Shouldn't it be possible to display the image directly into a pixmap by
    > specifiying the
    > pixmap drawable (as FL_WINDOW??) as the second argument in the flimage_display
    > function?

    You could try it but having looked at the innards of
    flimage_display(), I don't think it will work, since flimage_display()
    queries some Window properties using XGetWindowAttributes() and I
    suspect (though I'm not absolutely certain since I haven't tested it)
    that XGetWindowAttributes() will barf if fed a Pixmap as an argument.

    Worth a try, anyhow.

                                                            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/



    This archive was generated by hypermail 2b29 : Thu May 11 2000 - 10:08:00 EDT