Widget.addOnDamage

Emitted when a redirected window belonging to widget gets drawn into. The region/area members of the event shows what area of the redirected drawable was drawn into.

  1. gulong addOnDamage(bool delegate(GdkEventExpose*, Widget) dlg, ConnectFlags connectFlags)
  2. gulong addOnDamage(bool delegate(Event, Widget) dlg, ConnectFlags connectFlags)
    class Widget
    gulong
    addOnDamage
    (
    bool delegate dlg
    ,
    ConnectFlags connectFlags = cast(ConnectFlags)0
    )

Return Value

Type: gulong

TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further.

Meta

Since

2.14