Supported Plugin Events

From CwWiki

Revision as of 00:47, 6 October 2007; Kamp (Talk | contribs)
(diff) ←Older revision | view current revision | Newer revision→ (diff)
Jump to: navigation, search

Each event has a description string that is tab delimited. Following is the protocol of descriptions of currently supported event:


  TRACK_CREATED:
  "track name"
TRACK_MOVED: "track id"\t"dx inches"\t"dy inches"
IMAGE_LOADED: "image filename"\t"image url"
SECTION_CREATED: "track id"\t"source image id"\t"x pos inches"\t"y pos inches"
MOUSE_MOTION: "x pos inches"\t"y pos inches"
SECTION_MOVED: "track id"\t"section id"\t"dx inches"\t"dy inches"
FREE_DRAW_SELECTED: This only goes to the plugin that created the free draw rectangle "freedraw id"
NEW_ANNOTATION: "track id"\t"section id"\t"x-pos inches from section top"
EDIT_ANNOTATION: "track id"\t"section id"\t"annotation id"
NEW_ANNOTATION_ENTRY: "track id"\t"section id"\t"annotation id"\t"Annotation String..."