Logo Search packages:      
Sourcecode: blender version File versions

bool GHOST_EventManager::dispatchEvent (  )  [virtual]

Dispatches the event at the back of the stack. The event will be removed from the stack.

Indication as to whether any of the consumers handled the event.

Definition at line 123 of file GHOST_EventManager.cpp.

References popEvent().

Referenced by dispatchEvents().

      GHOST_IEvent* event = popEvent(); 
      bool handled = false;
      if (event) {
            handled = dispatchEvent(event);
            delete event;
      return handled;

Generated by  Doxygen 1.6.0   Back to index