2002-12-24 21:27:16 +00:00
|
|
|
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
|
|
|
|
|
|
|
|
%module otk
|
|
|
|
|
2003-02-17 21:25:52 +00:00
|
|
|
%import "eventhandler.hh"
|
|
|
|
%import "eventdispatcher.hh"
|
|
|
|
|
|
|
|
%include "otk_strut.i"
|
|
|
|
%include "otk_point.i"
|
|
|
|
%include "otk_size.i"
|
|
|
|
%include "otk_rect.i"
|
|
|
|
%include "otk_rendercolor.i"
|
|
|
|
%include "otk_rendertexture.i"
|
|
|
|
%include "otk_font.i"
|
|
|
|
%include "otk_ustring.i"
|
|
|
|
%include "otk_renderstyle.i"
|
|
|
|
%include "otk_widget.i"
|
|
|
|
%include "otk_label.i"
|
|
|
|
%include "otk_button.i"
|
|
|
|
%include "otk_application.i"
|
|
|
|
%include "otk_appwidget.i"
|
|
|
|
%include "otk_property.i"
|
|
|
|
%include "otk_timer.i"
|
2002-12-24 21:27:16 +00:00
|
|
|
|
2003-02-05 15:38:29 +00:00
|
|
|
// for Window etc
|
|
|
|
%import "X11/X.h"
|
|
|
|
|
|
|
|
// globals
|
|
|
|
%pythoncode %{
|
|
|
|
atoms = cvar.Property_atoms;
|
2003-02-08 07:34:25 +00:00
|
|
|
|
|
|
|
def style(screen):
|
|
|
|
return RenderStyle_style(screen)
|
|
|
|
|
2003-02-05 15:38:29 +00:00
|
|
|
%}
|