The OpenD Programming Language

PixmapPresenter.eventLoop

Runs the event loop

Redraws have to manually scheduled through scheduleRedraw when using this overload.

  1. int eventLoop(long pulseTimeout, void delegate() onPulse, T eventHandlers)
  2. int eventLoop(T eventHandlers)
    class PixmapPresenter
    int
    eventLoop
    (
    T...
    )
    if (
    (T.length == 0) ||
    (
    is(T[0] == delegate) &&
    !is(typeof(
    ()
    ()) == LoopCtrl)
    )
    )
  3. int eventLoop(LoopCtrl delegate() callback, T eventHandlers)

Meta