1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
10 %include "otk_rendercolor.i"
12 %typemap(python,out) const std::list<Widget*>& {
13 std::list<Widget*> *v = $1;
14 unsigned int s = v->size();
15 PyObject *l = PyList_New(s);
17 std::list<Widget*>::const_iterator it = v->begin(), end = v->end();
18 for (unsigned int i = 0; i < s; ++i, ++it) {
19 PyObject *pdata = SWIG_NewPointerObj((void*)*it,SWIGTYPE_p_otk__Widget,0);
20 PyList_SET_ITEM(l, i, pdata);
27 %ignore Widget::exposeHandler(const XExposeEvent &);
28 %ignore Widget::configureHandler(const XConfigureEvent &);
29 %ignore Widget::styleChanged(const RenderStyle &);
33 %import "../otk/eventhandler.hh"
34 %import "../otk/renderstyle.hh"