Lines Matching refs:PyObject
22 extern int CFStringRef_Convert(PyObject *, CFStringRef *);
23 extern int CFBundleRef_Convert(PyObject *, CFBundleRef *);
25 int EventTargetRef_Convert(PyObject *, EventTargetRef *);
26 PyObject *EventHandlerCallRef_New(EventHandlerCallRef itself);
27 PyObject *EventRef_New(EventRef itself);
31 EventTypeSpec_Convert(PyObject *v, EventTypeSpec *out)
45 static PyObject*
52 HIPoint_Convert(PyObject *v, HIPoint *out)
65 EventHotKeyID_Convert(PyObject *v, EventHotKeyID *out)
80 PyObject *retValue;
83 retValue = PyObject_CallFunction((PyObject *)outPyObject, "O&O&",
106 static PyObject *CarbonEvents_Error;
119 PyObject *EventRef_New(EventRef itself)
125 return (PyObject *)it;
128 int EventRef_Convert(PyObject *v, EventRef *p_itself)
142 self->ob_type->tp_free((PyObject *)self);
145 static PyObject *EventRef_RetainEvent(EventRefObject *_self, PyObject *_args)
147 PyObject *_res = NULL;
157 static PyObject *EventRef_GetEventRetainCount(EventRefObject *_self, PyObject *_args)
159 PyObject *_res = NULL;
169 static PyObject *EventRef_ReleaseEvent(EventRefObject *_self, PyObject *_args)
171 PyObject *_res = NULL;
180 static PyObject *EventRef_SetEventParameter(EventRefObject *_self, PyObject *_args)
182 PyObject *_res = NULL;
205 static PyObject *EventRef_GetEventClass(EventRefObject *_self, PyObject *_args)
207 PyObject *_res = NULL;
217 static PyObject *EventRef_GetEventKind(EventRefObject *_self, PyObject *_args)
219 PyObject *_res = NULL;
229 static PyObject *EventRef_GetEventTime(EventRefObject *_self, PyObject *_args)
231 PyObject *_res = NULL;
241 static PyObject *EventRef_SetEventTime(EventRefObject *_self, PyObject *_args)
243 PyObject *_res = NULL;
257 static PyObject *EventRef_IsUserCancelEventRef(EventRefObject *_self, PyObject *_args)
259 PyObject *_res = NULL;
269 static PyObject *EventRef_ConvertEventRefToEventRecord(EventRefObject *_self, PyObject *_args)
271 PyObject *_res = NULL;
284 static PyObject *EventRef_IsEventInMask(EventRefObject *_self, PyObject *_args)
286 PyObject *_res = NULL;
299 static PyObject *EventRef_SendEventToEventTarget(EventRefObject *_self, PyObject *_args)
301 PyObject *_res = NULL;
315 static PyObject *EventRef_GetEventParameter(EventRefObject *_self, PyObject *_args)
317 PyObject *_res = NULL;
391 static PyObject *EventRef_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds)
393 PyObject *_self;
464 PyObject *EventQueueRef_New(EventQueueRef itself)
470 return (PyObject *)it;
473 int EventQueueRef_Convert(PyObject *v, EventQueueRef *p_itself)
487 self->ob_type->tp_free((PyObject *)self);
490 static PyObject *EventQueueRef_PostEventToQueue(EventQueueRefObject *_self, PyObject *_args)
492 PyObject *_res = NULL;
509 static PyObject *EventQueueRef_FlushEventsMatchingListFromQueue(EventQueueRefObject *_self, PyObject *_args)
511 PyObject *_res = NULL;
528 static PyObject *EventQueueRef_FlushEventQueue(EventQueueRefObject *_self, PyObject *_args)
530 PyObject *_res = NULL;
541 static PyObject *EventQueueRef_GetNumEventsInQueue(EventQueueRefObject *_self, PyObject *_args)
543 PyObject *_res = NULL;
553 static PyObject *EventQueueRef_RemoveEventFromQueue(EventQueueRefObject *_self, PyObject *_args)
555 PyObject *_res = NULL;
569 static PyObject *EventQueueRef_IsEventInQueue(EventQueueRefObject *_self, PyObject *_args)
571 PyObject *_res = NULL;
612 static PyObject *EventQueueRef_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds)
614 PyObject *_self;
685 PyObject *EventLoopRef_New(EventLoopRef itself)
691 return (PyObject *)it;
694 int EventLoopRef_Convert(PyObject *v, EventLoopRef *p_itself)
708 self->ob_type->tp_free((PyObject *)self);
711 static PyObject *EventLoopRef_QuitEventLoop(EventLoopRefObject *_self, PyObject *_args)
713 PyObject *_res = NULL;
742 static PyObject *EventLoopRef_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds)
744 PyObject *_self;
815 PyObject *EventLoopTimerRef_New(EventLoopTimerRef itself)
821 return (PyObject *)it;
824 int EventLoopTimerRef_Convert(PyObject *v, EventLoopTimerRef *p_itself)
838 self->ob_type->tp_free((PyObject *)self);
841 static PyObject *EventLoopTimerRef_RemoveEventLoopTimer(EventLoopTimerRefObject *_self, PyObject *_args)
843 PyObject *_res = NULL;
854 static PyObject *EventLoopTimerRef_SetEventLoopTimerNextFireTime(EventLoopTimerRefObject *_self, PyObject *_args)
856 PyObject *_res = NULL;
890 static PyObject *EventLoopTimerRef_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds)
892 PyObject *_self;
961 PyObject *ob_callback;
964 PyObject *EventHandlerRef_New(EventHandlerRef itself)
971 return (PyObject *)it;
974 int EventHandlerRef_Convert(PyObject *v, EventHandlerRef *p_itself)
991 self->ob_type->tp_free((PyObject *)self);
994 static PyObject *EventHandlerRef_AddEventTypesToHandler(EventHandlerRefObject *_self, PyObject *_args)
996 PyObject *_res = NULL;
1017 static PyObject *EventHandlerRef_RemoveEventTypesFromHandler(EventHandlerRefObject *_self, PyObject *_args)
1019 PyObject *_res = NULL;
1040 static PyObject *EventHandlerRef_RemoveEventHandler(EventHandlerRefObject *_self, PyObject *_args)
1042 PyObject *_res = NULL;
1082 static PyObject *EventHandlerRef_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds)
1084 PyObject *_self;
1155 PyObject *EventHandlerCallRef_New(EventHandlerCallRef itself)
1161 return (PyObject *)it;
1164 int EventHandlerCallRef_Convert(PyObject *v, EventHandlerCallRef *p_itself)
1178 self->ob_type->tp_free((PyObject *)self);
1181 static PyObject *EventHandlerCallRef_CallNextEventHandler(EventHandlerCallRefObject *_self, PyObject *_args)
1183 PyObject *_res = NULL;
1215 static PyObject *EventHandlerCallRef_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds)
1217 PyObject *_self;
1288 PyObject *EventTargetRef_New(EventTargetRef itself)
1294 return (PyObject *)it;
1297 int EventTargetRef_Convert(PyObject *v, EventTargetRef *p_itself)
1311 self->ob_type->tp_free((PyObject *)self);
1314 static PyObject *EventTargetRef_InstallStandardEventHandler(EventTargetRefObject *_self, PyObject *_args)
1316 PyObject *_res = NULL;
1327 static PyObject *EventTargetRef_InstallEventHandler(EventTargetRefObject *_self, PyObject *_args)
1329 PyObject *_res = NULL;
1332 PyObject *callback;
1370 static PyObject *EventTargetRef_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds)
1372 PyObject *_self;
1443 PyObject *EventHotKeyRef_New(EventHotKeyRef itself)
1449 return (PyObject *)it;
1452 int EventHotKeyRef_Convert(PyObject *v, EventHotKeyRef *p_itself)
1466 self->ob_type->tp_free((PyObject *)self);
1469 static PyObject *EventHotKeyRef_UnregisterEventHotKey(EventHotKeyRefObject *_self, PyObject *_args)
1471 PyObject *_res = NULL;
1500 static PyObject *EventHotKeyRef_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds)
1502 PyObject *_self;
1562 static PyObject *CarbonEvents_GetCurrentEventLoop(PyObject *_self, PyObject *_args)
1564 PyObject *_res = NULL;
1574 static PyObject *CarbonEvents_GetMainEventLoop(PyObject *_self, PyObject *_args)
1576 PyObject *_res = NULL;
1586 static PyObject *CarbonEvents_RunCurrentEventLoop(PyObject *_self, PyObject *_args)
1588 PyObject *_res = NULL;
1601 static PyObject *CarbonEvents_ReceiveNextEvent(PyObject *_self, PyObject *_args)
1603 PyObject *_res = NULL;
1627 static PyObject *CarbonEvents_GetCurrentEventQueue(PyObject *_self, PyObject *_args)
1629 PyObject *_res = NULL;
1639 static PyObject *CarbonEvents_GetMainEventQueue(PyObject *_self, PyObject *_args)
1641 PyObject *_res = NULL;
1651 static PyObject *CarbonEvents_GetCurrentEventTime(PyObject *_self, PyObject *_args)
1653 PyObject *_res = NULL;
1663 static PyObject *CarbonEvents_TrackMouseLocation(PyObject *_self, PyObject *_args)
1665 PyObject *_res = NULL;
1683 static PyObject *CarbonEvents_TrackMouseLocationWithOptions(PyObject *_self, PyObject *_args)
1685 PyObject *_res = NULL;
1712 static PyObject *CarbonEvents_TrackMouseRegion(PyObject *_self, PyObject *_args)
1714 PyObject *_res = NULL;
1736 static PyObject *CarbonEvents_GetLastUserEventTime(PyObject *_self, PyObject *_args)
1738 PyObject *_res = NULL;
1748 static PyObject *CarbonEvents_IsMouseCoalescingEnabled(PyObject *_self, PyObject *_args)
1750 PyObject *_res = NULL;
1760 static PyObject *CarbonEvents_SetMouseCoalescingEnabled(PyObject *_self, PyObject *_args)
1762 PyObject *_res = NULL;
1777 static PyObject *CarbonEvents_GetWindowEventTarget(PyObject *_self, PyObject *_args)
1779 PyObject *_res = NULL;
1791 static PyObject *CarbonEvents_GetControlEventTarget(PyObject *_self, PyObject *_args)
1793 PyObject *_res = NULL;
1805 static PyObject *CarbonEvents_GetMenuEventTarget(PyObject *_self, PyObject *_args)
1807 PyObject *_res = NULL;
1819 static PyObject *CarbonEvents_GetApplicationEventTarget(PyObject *_self, PyObject *_args)
1821 PyObject *_res = NULL;
1831 static PyObject *CarbonEvents_GetUserFocusEventTarget(PyObject *_self, PyObject *_args)
1833 PyObject *_res = NULL;
1843 static PyObject *CarbonEvents_GetEventDispatcherTarget(PyObject *_self, PyObject *_args)
1845 PyObject *_res = NULL;
1855 static PyObject *CarbonEvents_RunApplicationEventLoop(PyObject *_self, PyObject *_args)
1857 PyObject *_res = NULL;
1866 static PyObject *CarbonEvents_QuitApplicationEventLoop(PyObject *_self, PyObject *_args)
1868 PyObject *_res = NULL;
1877 static PyObject *CarbonEvents_RunAppModalLoopForWindow(PyObject *_self, PyObject *_args)
1879 PyObject *_res = NULL;
1892 static PyObject *CarbonEvents_QuitAppModalLoopForWindow(PyObject *_self, PyObject *_args)
1894 PyObject *_res = NULL;
1907 static PyObject *CarbonEvents_BeginAppModalStateForWindow(PyObject *_self, PyObject *_args)
1909 PyObject *_res = NULL;
1922 static PyObject *CarbonEvents_EndAppModalStateForWindow(PyObject *_self, PyObject *_args)
1924 PyObject *_res = NULL;
1937 static PyObject *CarbonEvents_SetUserFocusWindow(PyObject *_self, PyObject *_args)
1939 PyObject *_res = NULL;
1952 static PyObject *CarbonEvents_GetUserFocusWindow(PyObject *_self, PyObject *_args)
1954 PyObject *_res = NULL;
1964 static PyObject *CarbonEvents_SetWindowDefaultButton(PyObject *_self, PyObject *_args)
1966 PyObject *_res = NULL;
1982 static PyObject *CarbonEvents_SetWindowCancelButton(PyObject *_self, PyObject *_args)
1984 PyObject *_res = NULL;
2000 static PyObject *CarbonEvents_GetWindowDefaultButton(PyObject *_self, PyObject *_args)
2002 PyObject *_res = NULL;
2017 static PyObject *CarbonEvents_GetWindowCancelButton(PyObject *_self, PyObject *_args)
2019 PyObject *_res = NULL;
2034 static PyObject *CarbonEvents_RegisterEventHotKey(PyObject *_self, PyObject *_args)
2036 PyObject *_res = NULL;
2143 PyObject *m;
2145 PyObject *d;
2161 PyModule_AddObject(m, "EventRef", (PyObject *)&EventRef_Type);
2164 PyModule_AddObject(m, "EventRefType", (PyObject *)&EventRef_Type);
2168 PyModule_AddObject(m, "EventQueueRef", (PyObject *)&EventQueueRef_Type);
2171 PyModule_AddObject(m, "EventQueueRefType", (PyObject *)&EventQueueRef_Type);
2175 PyModule_AddObject(m, "EventLoopRef", (PyObject *)&EventLoopRef_Type);
2178 PyModule_AddObject(m, "EventLoopRefType", (PyObject *)&EventLoopRef_Type);
2182 PyModule_AddObject(m, "EventLoopTimerRef", (PyObject *)&EventLoopTimerRef_Type);
2185 PyModule_AddObject(m, "EventLoopTimerRefType", (PyObject *)&EventLoopTimerRef_Type);
2189 PyModule_AddObject(m, "EventHandlerRef", (PyObject *)&EventHandlerRef_Type);
2192 PyModule_AddObject(m, "EventHandlerRefType", (PyObject *)&EventHandlerRef_Type);
2196 PyModule_AddObject(m, "EventHandlerCallRef", (PyObject *)&EventHandlerCallRef_Type);
2199 PyModule_AddObject(m, "EventHandlerCallRefType", (PyObject *)&EventHandlerCallRef_Type);
2203 PyModule_AddObject(m, "EventTargetRef", (PyObject *)&EventTargetRef_Type);
2206 PyModule_AddObject(m, "EventTargetRefType", (PyObject *)&EventTargetRef_Type);
2210 PyModule_AddObject(m, "EventHotKeyRef", (PyObject *)&EventHotKeyRef_Type);
2213 PyModule_AddObject(m, "EventHotKeyRefType", (PyObject *)&EventHotKeyRef_Type);