From: Chong Yidong <cyd@stupidchicken.com>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-pretest-bug@gnu.org,
Stefan Monnier <monnier@iro.umontreal.ca>,
Drew Adams <drew.adams@oracle.com>
Subject: Re: 23.0.60; tiny font in Customize button
Date: Sat, 10 May 2008 00:01:59 -0400 [thread overview]
Message-ID: <873aoq6c3s.fsf@stupidchicken.com> (raw)
In-Reply-To: <87iqxn3t2d.fsf@jurta.org> (Juri Linkov's message of "Sat, 10 May 2008 03:03:54 +0300")
Juri Linkov <juri@jurta.org> 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.
next prev parent reply other threads:[~2008-05-10 4:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-20 2:11 23.0.60; tiny font in Customize button Drew Adams
2008-04-20 23:56 ` Juri Linkov
2008-04-21 0:18 ` Drew Adams
2008-04-21 0:25 ` Chong Yidong
2008-04-21 1:07 ` Stefan Monnier
2008-04-21 1:35 ` Drew Adams
2008-04-21 2:08 ` Chong Yidong
2008-05-10 0:03 ` Juri Linkov
2008-05-10 4:01 ` Chong Yidong [this message]
2008-04-21 1:35 ` Drew Adams
2008-04-21 0:30 ` Lennart Borgman (gmail)
2008-04-21 2:04 ` Chong Yidong
2008-04-21 22:16 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873aoq6c3s.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=drew.adams@oracle.com \
--cc=emacs-pretest-bug@gnu.org \
--cc=juri@jurta.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.