6,0)caseGDK_OWNER_CHANGE:#endif// process it nowgtk_main_do_event(event);break;default:// process it later (but make a copy; the caller will free the event pointer)queue->Add(gdk_event_copy(event));break;
gtk_main_do_event (event); if (dispatchEvents == null) putGdkEvents (); return 0; origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc Display.eventProc(...) dispatch = tracker.processEvent (event); if (dispatch) OS.gtk_main_do_event (event); if (dispatchEvents == null)...
# 需要导入模块: from gi.repository import Gtk [as 别名]# 或者: from gi.repository.Gtk importmain_do_event[as 别名]defcb_any_event(event, onboard):# Hide bug in Oneiric's GTK3# Suppress ValueError: invalid enum value: 4294967295try: type = event.typeexceptValueError: type =Noneif0:# ...