From: David Masterson <dsmasterson92630@outlook.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: adding to the tool bar?
Date: Tue, 18 May 2021 20:18:36 -0700 [thread overview]
Message-ID: <SJ0PR03MB5455DC4CDD1C49F53FBA33C39B2B9@SJ0PR03MB5455.namprd03.prod.outlook.com> (raw)
In-Reply-To: <83r1i5u7w3.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 17 May 2021 10:38:52 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: David Masterson <dsmasterson92630@outlook.com>
>> Date: Sun, 16 May 2021 23:41:07 -0700
>>
>> I'd like to learn how to create and/or update a toolbar. I see in
>> "(emacs) Tool Bars" some talk about how to turn toolbars on and off, but
>> I don't see the process for (say) updating the default toolbar to add my
>> own commands. Where should I look?
>
> I'd start in "(elisp) Tool Bar", and also study tool-bar.el.
>
>> (similarly for menubars)
>
> "(elisp) Menu Keymaps" is a good starting point.
>
> In general, since this is not user-level stuff, the right place to
> look is in the ELisp manual.
How do you inspect a menu-bar or tool-bar (like describe-variable) to
determine it's structure and what functions it is calling? That's
usually a goo way of learning how these things work. I see the
functions used to create/add-to a menu-bar/tool-bar in the Elisp manual,
but not inspection tools.
--
David Masterson
next prev parent reply other threads:[~2021-05-19 3:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-17 6:41 adding to the tool bar? David Masterson
2021-05-17 7:38 ` Eli Zaretskii
2021-05-19 3:18 ` David Masterson [this message]
2021-05-19 11:27 ` Eli Zaretskii
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=SJ0PR03MB5455DC4CDD1C49F53FBA33C39B2B9@SJ0PR03MB5455.namprd03.prod.outlook.com \
--to=dsmasterson92630@outlook.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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.