在 2012-02-08三的 02:23 +0900,Stephen J. Turnbull写道:
Ailin Nemui writes:
> I found out that I can use a face with a glyph in the display-table.
> However, this doesn't respond to mouse clicks anymore when I set it to
> an image (xpm) glyph. works fine when I set the dt to a string, though.
> Any thoughts?
I think this click insensitivity is a limitation of image glyphs; I
don't know why it arises or how to solve it.
Try make-gui-button from the gui library. That makes a button glyph.
Can the gui button carry an image (as in, XPM)? I cannot figure out how
to do this... tried
(insert-gui-button (vector 'button :descriptor "something" :image
(vector "name" my-xpm-glyph)))
and a whole lot of other things, but it does not show up :-(
Without an :image, I get a typical text button.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta