From: Bernhard Roider Date: Mon, 14 Jan 2008 22:20:35 +0000 (+0000) Subject: Doxy for LFUN_CALL again X-Git-Tag: 1.6.10~6603 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2714d1b8b924881996e4bcc0c351a03d1ece06b2;p=features.git Doxy for LFUN_CALL again git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22564 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp index 02df0087f4..0c6f70fd42 100644 --- a/src/LyXAction.cpp +++ b/src/LyXAction.cpp @@ -906,17 +906,16 @@ void LyXAction::init() * \var lyx::kb_action lyx::LFUN_CALL * \li Action: Executes a command defined in a .def file. * \li Notion: The definitions are 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 lfun code + A .def file allows to define a command with \\define "" "" + where is the name of the new command and 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 , a button - cannot otherwise be assigned to a complex command-sequence. - * \li Syntax: call - * \li Params: : Name of the command that must be called. - can be consequently used in menu, - toolbar (image) or bind file + Since the name of the button image for this lfun is + lib/images/commands/.png this is the way to assign an image + to a complex command-sequence. + * \li Syntax: call + * \li Params: : Name of the command that must be called. * \li Origin: broider, 2 Oct 2007 */ { LFUN_CALL, "call", NoBuffer, System },