---
name: "Kephra::EventTable"
section: "3pm"
platform: "linux"
package: "kephra"
version: "0.4.3.34+dfsg-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Kephra::EventTable"
---

# Kephra::EventTable(3pm)

API to internal events

## NAME

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

## DESCRIPTION

Every routine can subscribe a callback to any event that will than triggered when that event takes place. Also extensions (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.

## SPECIFICATION

### add\_call

- •

  EvenID

- •

  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
