Intended behavior, but probably not a good idea. Basically
when a pixmap is shown, if for some reason, the pixmap
is empty (presumely due to an error in programming/runtime),
the text "pixmap" is shown to remind the users that
a pixmap is missing. As your code below demonstrated,
not having a pixmap does not necessarily indicate
an error.
--- Simon <th_simon@compuserve.com> wrote:
> Create a PixmapButton of size 30x30 without label and the font set to
> courier-bold-r with size 10. Then you will see the Text "Pixmap" and
> as
> it is larger than the button the text parts outside the button will
> remain
> visible
> after initializing the button pixmap.
> This behaviour depends on the position of the fl_set_pixmap_pixmap
> command
> in relation to fl_prepare_form_window and fl_show_form_window:
>
> first case (all is o.K.):
> win=fl_prepare_form_window(...);
> XCreatePixmap(dpy,win,...);
> fl_set_pixmap_pixmap(...);
> fl_show_form_window(...);
>
> second case (Text "Pixmap" remains visible):
> win=fl_prepare_form_window(...);
> XCreatePixmap(dpy,win,...);
> fl_show_form_window(...);
> fl_set_pixmap_pixmap(...);
>
> Best regards, Th. Simon
> _________________________________________________
> 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://bragg.phys.uwm.edu/xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
>
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_________________________________________________
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://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/