emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.60; tiny font in Customize button


From: Chong Yidong
Subject: Re: 23.0.60; tiny font in Customize button
Date: Sat, 10 May 2008 00:01:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Juri Linkov <address@hidden> writes:

>> It's certainly doable, assuming someone is up for some widget hackery.
>> (The `checkbox' widget in wid-edit.el is probably a good starting point;
>> in this case, the checkbox is implemented as a Lisp string that defines
>> an xbm image.  A similar method is used in startup.el for the "Don't
>> show this again" checkbox.)
>
> I now realized that everything is already in place.  We just need to
> put necessary image files to the etc/custom directory.  This is due to
> existing code in `widget-visibility-value-create':
>
>     (if (widget-value widget)
>       (widget-image-insert widget on "down" "down-pushed")
>       (widget-image-insert widget off "right" "right-pushed"))
>
> where strings are image file names for triangle arrows for
> collapsed/expanded positions.

Indeed, that sounds correct.

> Also I think that instead of using etc/custom directory it would be
> better to put custom image files to etc/images/custom:

Yep.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]