Go to the source code of this file.
|
static PyObject * | pygobject_init (int req_major, int req_minor, int req_micro) |
| pygobject_init: : minimum version major number, or -1 : minimum version minor number, or -1 : minimum version micro number, or -1 More...
|
|
◆ PyGClassInitFunc
typedef int(* PyGClassInitFunc) (gpointer gclass, PyTypeObject *pyclass) |
◆ PyGClosure
◆ PyGFatalExceptionFunc
typedef void(* PyGFatalExceptionFunc) (void) |
◆ PyGObjectData
◆ PyGThreadBlockFunc
typedef void(* PyGThreadBlockFunc) (void) |
◆ PyGTypeRegistrationFunction
typedef PyTypeObject*(* PyGTypeRegistrationFunction) (const gchar *name, gpointer data) |
◆ PyGObjectFlags
Enumerator |
---|
PYGOBJECT_USING_TOGGLE_REF | |
PYGOBJECT_IS_FLOATING_REF | |
Definition at line 59 of file pygobject.h.
◆ pygobject_init()
static PyObject* pygobject_init |
( |
int |
req_major, |
|
|
int |
req_minor, |
|
|
int |
req_micro |
|
) |
| |
|
inlinestatic |
pygobject_init: : minimum version major number, or -1 : minimum version minor number, or -1 : minimum version micro number, or -1
Imports and initializes the 'gobject' python module. Can optionally check for a required minimum version if , , and are all different from -1.
Returns: a new reference to the gobject module on success, NULL in case of failure (and raises ImportError).
Definition at line 323 of file pygobject.h.
◆ _PyGObject_API
◆ PyClosureExceptionHandler
G_BEGIN_DECLS typedef void(* PyClosureExceptionHandler) (GValue *ret, guint n_param_values, const GValue *params) |