Angus Leeming <[EMAIL PROTECTED]> writes:
| A new pair of questions.
|
| The user can activate items on the current Menubar and Toolbar by invoking
| the methods
|
| // Display the top-level submenu "name"
| void Menubar::Pimpl::openByName(string const & name);
|
| // invoke the lyxfunc associated with the nthToolbar button
| void Toolbar::Pimpl push(int nth);
|
| I think that push() is redundant code because we can access the lyxfunc
| directly. Can I get rid of it?
This is also a lyxfunc right? (toolbar-push)
It is there so that you can bind keys to the buttons regardless of
what lyx-func that will invoke.
\bind "F1" "toolbar-push 1"
IMO it should not be removed.
| I'm going to extend openByName to open a Combox as well as a
| Submenu.
Not sure what you mean.
--
Lgb