L10n:MirLua/NamedEvents/ExtDescription: Difference between revisions
Jump to navigation
Jump to search
(L10n:MirLua/NamedEvents/ExtDescription (test template)) |
(clean up - correct way to define empty cells) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
| #default = {{UnknownString}} | | #default = {{UnknownString}} | ||
| CreateHookableEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | | CreateHookableEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | ||
| #default = | | #default = | ||
}} | }} | ||
| HookEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | | HookEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | ||
| #default = HookEvent | | #default = Traps are called one by one in the order they were added to the sequence.<br /> | ||
| en = | Trap signature: <code>function (wParam, lParam) return 0 end</code>.<br /> | ||
| ru = | Correct result for a trap is 0. When 1 is returned, the following traps in a sequence won't be called. | ||
| de = HookEvent erweiterte Beschreibung. | |||
| en = Traps are called one by one in the order they were added to the sequence.<br /> | |||
Trap signature: <code>function (wParam, lParam) return 0 end</code>.<br /> | |||
Correct result for a trap is 0. When 1 is returned, the following traps in a sequence won't be called. | |||
| ru = Ловушки вызываются в порядке добавления по цепочке друг за другом.<br /> | |||
Сигнатура ловушки: <code>function (wParam, lParam) return 0 end</code>.<br /> | |||
Корректным результатом работы ловушки является 0. При возврате 1 следующие в цепочке ловушки не будут вызваны. | |||
}} | }} | ||
| UnhookEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | | UnhookEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | ||
| #default = | | #default = | ||
}} | }} | ||
| NotifyEventHooks = {{#switch: {{{lang|{{#var:PageLang}} }}} | | NotifyEventHooks = {{#switch: {{{lang|{{#var:PageLang}} }}} | ||
| #default = | | #default = | ||
}} | }} | ||
| DestroyHookableEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | | DestroyHookableEvent = {{#switch: {{{lang|{{#var:PageLang}} }}} | ||
| #default = DestroyHookableEvent | | #default = All traps of the call sequence are destroyed as well. If event call wasn't competed, the call sequence gets broken after the current trap function is executed. | ||
| en = | | de = DestroyHookableEvent erweiterte Beschreibung. | ||
| ru = | | en = All traps of the call sequence are destroyed as well. If event call wasn't competed, the call sequence gets broken after the current trap function is executed. | ||
| ru = Также удаляются все ловушки из цепочки вызовов. Если вызов события еще не завершен, то цепочка вызовов обрывается после выполнения текущей ловушки. | |||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> |
Latest revision as of 19:42, 10 December 2015
Documentation[create]