DOKK / manpages / debian 10 / kephra / Kephra::EventTable.3pm.en
Kephra::EventTable(3pm) User Contributed Perl Documentation Kephra::EventTable(3pm)

Kephra::API::EventTable - API to internal events

Every routine can subscribe a callback to any event that will than triggered when that event takes place. Also extentions (plugins) can do that. Event ID can also be triggered to simulate application events. Some function do freeze events to speed up certain repeating actions (don't forget to thaw after that). Callbacks can also sanely removed, if no longer needed.

Names of Events contain dots as separator of of namespaces.

  • EvenID
  • CallbackID

    for removing that callback. Must be unique in for this event.

  • Callback

    a Coderef.

  • Owner

    for removing all callbacks of that owner.

  • menu.open
  • editpanel.focus
  • document.text.select
  • document.text.change
  • document.savepoint
  • document.list
  • caret.move
  • app.close
2011-06-08 perl v5.20.1