mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
1a77c867a2
by default read from lib/commands/default.def A .def file allows to define a command with \define "Name" "lfun" where Name is the name of the new command and lfun is the code to be executed. \def_file "FileName" allows to include another .def file. The implementation of CmdDef is similar to KeyMap, i.e. there is one instance created in the LyX.cpp that reads the .def file, holds a list containing all definitions, and supplies access methods. LFUN_CALL: The new lfun is used to execute a command definition, e.g. call Name If a toolbar item has the associated action "call Name" then the image lib/images/commands/Name.png is used for the button. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21093 a592a061-630c-0410-9148-cb99ea01b6c8 |
||
---|---|---|
.. | ||
qt4 | ||
tests | ||
Alert_pimpl.h | ||
alert.cpp | ||
alert.h | ||
Application.cpp | ||
Application.h | ||
ButtonPolicy.cpp | ||
ButtonPolicy.h | ||
Clipboard.h | ||
Delegates.h | ||
Dialog.cpp | ||
Dialog.h | ||
Dialogs.cpp | ||
Dialogs.h | ||
FileDialog.h | ||
FontLoader.h | ||
FontMetrics.h | ||
frontend_helpers.cpp | ||
frontend_helpers.h | ||
Gui.h | ||
KeyModifier.h | ||
KeySymbol.h | ||
LyXView.cpp | ||
LyXView.h | ||
Makefile.am | ||
mouse_state.h | ||
NoGuiFontLoader.h | ||
NoGuiFontMetrics.h | ||
Painter.cpp | ||
Painter.h | ||
pch.h | ||
Selection.h | ||
WorkArea.cpp | ||
WorkArea.h | ||
WorkAreaManager.cpp | ||
WorkAreaManager.h |