on method

on register event handlers for all windows or we can use stream mode

Implementation

FloatwingPlugin on(EventType type, WindowListener callback) {
  // TODO:
  return this;
}