User:Wishmaster/MirLua

From Miranda NG
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Funktion Beschreibung Erweiterte Beschreibung Einstellungen Beispiel
CreateHookableEvent CreateHookableEvent Beschreibung. CreateHookableEvent Einstellungen.
local hEvent = m.CreateHookableEvent('MyEvent')
HookEvent HookEvent Beschreibung. HookEvent erweiterte Beschreibung. HookEvent Einstellungen.
local hHook = m.HookEvent('MyEvent', function(w, l)
  print('MyEvent is raised!')
end)
UnhookEvent UnhookEvent Beschreibung. UnhookEvent Einstellungen.
m.UnhookEvent(hHook)
NotifyEventHooks NotifyEventHooks Beschreibung. NotifyEventHooks Einstellungen.
m.NotifyEventHooks(hEvent)