source/text/sbasic/python/python_handler.xhp | 1 + 1 file changed, 1 insertion(+)
New commits: commit 54335ce48cca4ab26112f700210ecbe5fa5a0595 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Dec 12 16:00:40 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Dec 12 17:08:57 2019 +0100 tdf#127919 link Assign Component dialog to 'Creating A Dialog Handler' Change-Id: Ie0f7b0e45ebf0e39d67abc36640cdffd22e08e29 Reviewed-on: https://gerrit.libreoffice.org/85065 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/source/text/sbasic/python/python_handler.xhp b/source/text/sbasic/python/python_handler.xhp index 1f9e9ce35..87887105e 100644 --- a/source/text/sbasic/python/python_handler.xhp +++ b/source/text/sbasic/python/python_handler.xhp @@ -23,6 +23,7 @@ <bookmark_value>API;DialogProvider2</bookmark_value> <bookmark_value>API;XDialogEventHandler</bookmark_value> </bookmark> + <bookmark xml-lang="en-US" branch="hid/cui/ui/assigncomponentdialog/AssignComponent" id="bm_id66701251" localize="false"/> <h1 id="N0665"><variable id="pythonhandler_h1"><link href="text/sbasic/python/python_handler.xhp" name="Creating a Dialog Handler">Creating a Dialog Handler</link></variable></h1> <paragraph role="paragraph" id="N0666">Next to <link href="text/sbasic/shared/01040000.xhp" name ="Assigning macros to events">assigning macros to events</link> or <link href="text/sbasic/basic/python/python_listener" name ="creating event listeners">creating event listeners</link>, one can use dialog handlers, whose principle is to define UNO keywords, or methods, that are mapped to events to watch for. The event handler is responsible for executing methods using the <literal>vnd.sun.star.UNO:<method_name></literal> protocol. Unlike listeners that require to define all supported methods, even if unused, dialog handlers require only two methods on top of intended control hook scripts.</paragraph> <paragraph role="paragraph" id="N0667">The advantages of this approach are:</paragraph> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits