ekg2
|
Idź do kodu źródłowego tego pliku.
Struktury danych | |
struct | ekg_windowObj |
Funkcje | |
void | ekg_window_dealloc (ekg_windowObj *o) |
PyObject * | ekg_window_repr (ekg_windowObj *self) |
PyObject * | ekg_window_str (ekg_windowObj *self) |
int | ekg_window_init (ekg_windowObj *self, PyObject *args, PyObject *kwds) |
PyObject * | ekg_window_switch_to (ekg_windowObj *self, PyObject *args) |
PyObject * | ekg_window_echo (ekg_windowObj *self, PyObject *args) |
PyObject * | ekg_window_echo_format (ekg_windowObj *self, PyObject *args) |
PyObject * | ekg_window_kill (ekg_windowObj *self, PyObject *args) |
PyObject * | ekg_window_get_attr (ekg_windowObj *self, char *attr) |
PyObject * | ekg_window_next (ekg_windowObj *self, PyObject *args) |
PyObject * | ekg_window_prev (ekg_windowObj *self, PyObject *args) |
Zmienne | |
staticforward PyMethodDef | ekg_window_methods [] |
static PyTypeObject | ekg_window_type |
void ekg_window_dealloc | ( | ekg_windowObj * | o | ) |
deallocation of window object
PyObject* ekg_window_echo | ( | ekg_windowObj * | self, |
PyObject * | args | ||
) |
print on given window
PyObject* ekg_window_echo_format | ( | ekg_windowObj * | self, |
PyObject * | args | ||
) |
print on window with given format
PyObject* ekg_window_get_attr | ( | ekg_windowObj * | self, |
char * | attr | ||
) |
get attribute from window object
int ekg_window_init | ( | ekg_windowObj * | self, |
PyObject * | args, | ||
PyObject * | kwds | ||
) |
initialization of window object
PyObject* ekg_window_kill | ( | ekg_windowObj * | self, |
PyObject * | args | ||
) |
print on window with given format
PyObject* ekg_window_next | ( | ekg_windowObj * | self, |
PyObject * | pyargs | ||
) |
return next window object
PyObject* ekg_window_prev | ( | ekg_windowObj * | self, |
PyObject * | pyargs | ||
) |
return previous window object
PyObject* ekg_window_repr | ( | ekg_windowObj * | self | ) |
__repr__ method
PyObject* ekg_window_str | ( | ekg_windowObj * | self | ) |
__str__ method
PyObject* ekg_window_switch_to | ( | ekg_windowObj * | self, |
PyObject * | args | ||
) |
switch to current window
staticforward PyMethodDef ekg_window_methods[] |
{ {"switch_to", (PyCFunction)ekg_window_switch_to, METH_VARARGS, "Switch to this window"}, {"echo", (PyCFunction)ekg_window_echo, METH_VARARGS, "Print string on this window"}, {"echo_format", (PyCFunction)ekg_window_echo_format, METH_VARARGS, "Print formatted string on this window"}, {"kill", (PyCFunction)ekg_window_kill, METH_VARARGS, "Kill window"}, {"next", (PyCFunction)ekg_window_next, METH_VARARGS, "Return next window" }, {"prev", (PyCFunction)ekg_window_prev, METH_VARARGS, "Return previous window" }, {NULL, NULL, 0, NULL} }
PyTypeObject ekg_window_type [static] |