]> git.lyx.org Git - features.git/commitdiff
A little more explanation.
authorRichard Heck <rgheck@comcast.net>
Mon, 14 Jan 2008 21:49:01 +0000 (21:49 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 14 Jan 2008 21:49:01 +0000 (21:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22560 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXAction.cpp

index 9c002a92bfb3a3128de0cd53d9f1d93ac5ad2a7b..074529c7a4dfbcaefce6f4ea8cfc8c3ba91257ec 100644 (file)
@@ -846,6 +846,9 @@ void LyXAction::init()
                where Name is the name of the new command and lfun is the lfun code
                to be executed (see e.g. command-sequence LFUN).
                \\def_file "FileName" allows to include another .def file.
+               This is particularly useful in connection with toolbar buttons:
+               Since the name of the button is derived from <CMDNAME>, a button
+               cannot otherwise be assigned to a complex command-sequence.
  * \li Syntax: call <CMDNAME>
  * \li Params: <CMDNAME>: Name of the command that must be called.
                           <CMDNAME> can be consequently used in menu,