py-interpreter-selector.h 830 Bytes
Newer Older
1 2 3 4 5
#ifndef PY_INTERPRETER_SELECTOR
#define PY_INTERPRETER_SELECTOR

#include <glib.h>
#include <gnumeric.h>
6
#include <goffice/goffice.h>
7 8 9 10
#include "gnm-py-interpreter.h"

#define GNM_PY_INTERPRETER_SELECTOR_TYPE     (gnm_py_interpreter_selector_get_type ())
#define GNM_PY_INTERPRETER_SELECTOR(o)       (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_PY_INTERPRETER_SELECTOR_TYPE, GnmPyInterpreterSelector))
Morten Welinder's avatar
Morten Welinder committed
11
#define GNM_IS_PY_INTERPRETER_SELECTOR(o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_PY_INTERPRETER_SELECTOR_TYPE))
12 13 14 15

GType gnm_py_interpreter_selector_get_type (void);
typedef struct _GnmPyInterpreterSelector GnmPyInterpreterSelector;

16
GtkWidget         *gnm_py_interpreter_selector_new (GOErrorInfo **err);
17 18 19
GnmPyInterpreter  *gnm_py_interpreter_selector_get_current (GnmPyInterpreterSelector *sel);

#endif /* PY_INTERPRETER_SELECTOR */