public IntPtr GetIntPtrProperty(Property property) { IntPtr val; screen_get_event_property_pv (handle, property, out val); return val; }
bool HandleWindowEvent(ScreenEvent ev) { var handle = ev.GetIntPtrProperty(Property.SCREEN_PROPERTY_WINDOW); if (!windows.ContainsKey(handle)) { return(false); } windows [handle].HandleEvent(ev); return(true); }