Hi,
I began experimenting with XForms when triggered by a sequel of
articles in the Linux Journal, previously I had used plenty of
Tcl/Tk/Tix. I have found the following 'problem' in v0.86:
When I have a pixmap button, I have the pixmaps have to reside
in the same directory where the executable is found (due to
the fl_set_pixmap_file(obj, PixmapFile), which is a bit
unpractical as one usually executes the program without cd'ing
to that directory. As a result empty pixmaps are shown in
the application :-( Did I miss something? am I doing something
wrong?
I think it would be nice to have the pixmap hard-coded (option?)
as the .xpm files are already in C syntax, that would solve
the above problem in a natural way (IMHO) without using the
'data' functions (???).
What I have done so far is implement a wrapper function that
looks up a series of directories and tries to stat() the
pixmap file until it finds it (or abort if not found in any
of those).
So, did I do something wrong? the wrapper is working fine
for me but...
Cheers,
Emilio
-- D. Emilio Grimaldo T. Irdeto Consultants B.V. Technology Control Systems (TCS) Hoofddorp, The Netherlands EMAIL: emilio@irdeto.nl HTTP://www.irdeto.com egrimald@nethold.nl Phone: +31 (0)23 568 6756 Mobile: +31 (0)6 No-Yupie _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/