13 # pragma warning(disable:4231) // nonstandard extension used 'extern' before...
14 # pragma warning(disable:4251) // needs to have dll-interface used by client
15 # pragma warning(disable:4275) // non dll-interface struct
16 # pragma warning(disable:4800) // 'int' : forcing value to bool 'true' or 'false' (performance warning)
21 #include <boost/python.hpp>
25 using namespace boost::python;
33 class_ < CanvasWindow >
35 "The CanvasWindow class contains the Canvas and some controls via\n"
36 "menu items and dialogs.",
39 .def (
"show", &CanvasWindow::show,
40 "show ( None ) -> None\n"
42 "Brings the canvas window onto the screen." )
44 .def (
"fileNew", &CanvasWindow::fileNew,
45 "fileNew ( None ) -> None\n"
47 "Creates a new CanvasWindow." )
hippodraw::CanvasWindow class interface.
void export_CanvasWindow()
Exports the CanvasWindow class to Python.