⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xynthpy.c

📁 CS架构的多平台的GUI系统
💻 C
字号:
/***************************************************************************    begin                : Sat Jul 2 2005    copyright            : (C) 2005 by Alper Akcan    email                : distchx@yahoo.com ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU Lesser General Public License as        * *   published by the Free Software Foundation; either version 2.1 of the  * *   License, or (at your option) any later version.                       * *                                                                         * ***************************************************************************/#include "xynthpy.h"extern PyTypeObject p_event_type;extern PyTypeObject p_window_type;PyMethodDef xynth_methods[] = {	{"window", wrap_window, 1},//	{"event", wrap_event, 1},	{NULL, NULL}};void initxynth (void){	PyObject *m;	if (PyType_Ready(&p_window_type) < 0) {		return;	}	p_window_type.ob_type = &PyType_Type;	m = Py_InitModule3("xynth", xynth_methods, "Xynth Windowing System");	PyModule_AddIntConstant(m, "WINDOW_MAIN", WINDOW_MAIN);	Py_INCREF(&p_window_type);	PyModule_AddObject(m, "window", (PyObject *) &p_window_type);//	PyModule_AddObject(m, "event", (PyObject *) &p_event_type);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -