[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: incorrect button highlighting
From: |
Stefan Monnier |
Subject: |
Re: incorrect button highlighting |
Date: |
Thu, 20 Sep 2007 14:50:04 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
>> I think this is a documented limitation of the widget library.
I think it's a bug in the widget library.
> Actually, it's nothing to do with widgets. This has the same symptoms:
> (progn
> (switch-to-buffer "*example*")
> (insert-image (create-image "prev-node.xpm")
> (propertize "prev" 'mouse-face 'custom-button-pressed-face))
> (insert-image (create-image "next-node.xpm")
> (propertize "next" 'mouse-face 'custom-button-pressed-face)))
Easy to fix:
> (progn
> (switch-to-buffer "*example*")
> (insert-image (create-image "prev-node.xpm")
> (propertize "prev" 'mouse-face (list
> 'custom-button-pressed-face)))
> (insert-image (create-image "next-node.xpm")
> (propertize "next" 'mouse-face (list
> 'custom-button-pressed-face))))
-- Stefan
Re: incorrect button highlighting, Stefan Monnier, 2007/09/20