20 #ifndef __PYTHON_WINDOW_H_ 22 #define __PYTHON_WINDOW_H_ 46 {
"echo", (PyCFunction)
ekg_window_echo, METH_VARARGS,
"Print string on this window"},
47 {
"echo_format", (PyCFunction)
ekg_window_echo_format, METH_VARARGS,
"Print formatted string on this window"},
49 {
"next", (PyCFunction)
ekg_window_next, METH_VARARGS,
"Return next window" },
50 {
"prev", (PyCFunction)
ekg_window_prev, METH_VARARGS,
"Return previous window" },
55 PyObject_HEAD_INIT(
NULL)
75 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
PyObject * ekg_window_echo_format(ekg_windowObj *self, PyObject *args)
Definition: python-window.c:183
PyObject * ekg_window_repr(ekg_windowObj *self)
Definition: python-window.c:101
staticforward PyMethodDef ekg_window_methods[]
Definition: python-window.h:44
void ekg_window_dealloc(ekg_windowObj *o)
Definition: python-window.c:90
PyObject * ekg_window_prev(ekg_windowObj *self, PyObject *args)
Definition: python-window.c:256
PyObject * ekg_window_get_attr(ekg_windowObj *self, char *attr)
Definition: python-window.c:78
static PyTypeObject ekg_window_type
Definition: python-window.h:54
int ekg_window_init(ekg_windowObj *self, PyObject *args, PyObject *kwds)
Definition: python-window.c:50
#define NULL
Definition: oralog.c:49
PyObject * ekg_window_next(ekg_windowObj *self, PyObject *args)
Definition: python-window.c:229
PyObject_HEAD
Definition: python-window.h:28
PyObject * ekg_window_echo(ekg_windowObj *self, PyObject *args)
Definition: python-window.c:156
PyObject * ekg_window_kill(ekg_windowObj *self, PyObject *args)
Definition: python-window.c:211
Definition: python-window.h:26
PyObject * ekg_window_switch_to(ekg_windowObj *self, PyObject *args)
Definition: python-window.c:135
window_t * w
Definition: python-window.h:29
PyObject * ekg_window_str(ekg_windowObj *self)
Definition: python-window.c:119