ekg2
Struktury danych | Funkcje | Zmienne
Dokumentacja pliku plugins/python/python-window.h
#include <Python.h>
#include <ekg/windows.h>

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

Dokumentacja funkcji

void ekg_window_dealloc ( ekg_windowObj o)

ekg_window_dealloc()

deallocation of window object

PyObject* ekg_window_echo ( ekg_windowObj self,
PyObject *  args 
)

ekg_window_echo()

print on given window

PyObject* ekg_window_echo_format ( ekg_windowObj self,
PyObject *  args 
)

ekg_window_echo_format()

print on window with given format

PyObject* ekg_window_get_attr ( ekg_windowObj self,
char *  attr 
)

ekg_window_get_attr()

get attribute from window object

int ekg_window_init ( ekg_windowObj self,
PyObject *  args,
PyObject *  kwds 
)

ekg_window_init()

initialization of window object

PyObject* ekg_window_kill ( ekg_windowObj self,
PyObject *  args 
)

ekg_window_kill()

print on window with given format

PyObject* ekg_window_next ( ekg_windowObj self,
PyObject *  pyargs 
)

ekg_window_next()

return next window object

PyObject* ekg_window_prev ( ekg_windowObj self,
PyObject *  pyargs 
)

ekg_window_prev()

return previous window object

PyObject* ekg_window_repr ( ekg_windowObj self)

ekg_window_repr()

__repr__ method

PyObject* ekg_window_str ( ekg_windowObj self)

ekg_window_str()

__str__ method

PyObject* ekg_window_switch_to ( ekg_windowObj self,
PyObject *  args 
)

ekg_window_switch_to()

switch to current window


Dokumentacja zmiennych

staticforward PyMethodDef ekg_window_methods[]
Wartość początkowa:
 {
        {"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]
 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje