![]() |
![]() |
![]() |
swamigui Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
void (*SwamiguiPythonOutputFunc) (const char *output, gboolean is_stderr); void swamigui_python_set_output_func (SwamiguiPythonOutputFunc func); void swamigui_python_set_root (void); gboolean swamigui_python_is_initialized (void);
void (*SwamiguiPythonOutputFunc) (const char *output, gboolean is_stderr);
void swamigui_python_set_output_func (SwamiguiPythonOutputFunc func);
Set the Python output callback function which gets called for any output to stdout or stderr from the Python interpreter.
|
Python output callback function or NULL to use default (no
redirection)
|
void swamigui_python_set_root (void);
Runs a bit of Python code to set the swamigui.root variable to the global swamigui_root object.
gboolean swamigui_python_is_initialized (void);
Check if Python sub system is initialized and ready for action.
Returns : |
TRUE if initialized, FALSE otherwise |