[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: adding to the tool bar?
From: |
David Masterson |
Subject: |
Re: adding to the tool bar? |
Date: |
Tue, 18 May 2021 20:18:36 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
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