Logo Search packages:      
Sourcecode: blender version File versions

GHOST_WindowHandle GHOST_GetEventWindow ( GHOST_EventHandle  eventhandle  ) 

Returns the window this event was generated on, or NULL if it is a 'system' event.

Parameters:
eventhandle The handle to the event
Returns:
The generating window.

Definition at line 400 of file GHOST_C-api.cpp.

References GHOST_GetEventWindow().

Referenced by GHOST_GetEventWindow().

{
      GHOST_IEvent* event = (GHOST_IEvent*) eventhandle;

      return (GHOST_WindowHandle) event->getWindow();
}


Generated by  Doxygen 1.6.0   Back to index