Kephra...tTable(3pm)

πŸ“¦
version 0.4.3.34 Β· 4 versions
, in ubuntu noble, ubuntu questing

✨ NAME ✨

okay so bestie, this is the manual for Kephra::API::EventTable β€” it's the API to internal events. It lives under User Contributed Perl Documentation, and the page itself is Kephra::API::EventTable(3pm). πŸ’–


πŸ’… DESCRIPTION πŸ’…

Every routine can subscribe a callback to any event, and that callback will then be triggered when that event takes place. Extensions (plugins) can do that too, no cap. πŸ‘‘

An Event ID can also be triggered to simulate application events. Some function do freeze events to speed up certain repeating actions β€” and bestie, don't forget to thaw after that. 🧊➑️πŸ”₯

Callbacks can also be sanely removed if they're no longer needed. Bye boo. πŸ‘‹

Names of Events contain dots as separator of namespaces. So the dots are doing the namespace-splitting thing, iykyk. πŸ’«


πŸŽ€ SPECIFICATION πŸŽ€

πŸ¦‹ add_call πŸ¦‹

  • EvenID β€” the event identifier slot, first up. (yes, it's spelled EvenID, that's the vibe.) πŸ’…
  • CallbackID β€” for removing that callback. Must be unique in for this event.
  • Callback β€” a Coderef.
  • Owner β€” for removing all callbacks of that owner.

🌈 List of all Events 🌈

  • menu.open
  • editpanel.focus
  • document.text.select
  • document.text.change
  • document.savepoint
  • document.list
  • caret.move
  • app.close

made with perl v5.36.0, dated 2023-03-08, and the footer says Kephra...tTable(3pm) β€” periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from