]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/controls.i
use wx.CallAfter to set the insertion point
[wxWidgets.git] / wxPython / src / controls.i
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: controls.i
3 // Purpose: Control (widget) classes for wxPython
4 //
5 // Author: Robin Dunn
6 //
7 // Created: 10-June-1998
8 // RCS-ID: $Id$
9 // Copyright: (c) 1998 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
12
13 %module(package="wx") _controls
14
15 //---------------------------------------------------------------------------
16
17 %{
18 #include "wx/wxPython/wxPython.h"
19 #include "wx/wxPython/pyclasses.h"
20 %}
21
22 //---------------------------------------------------------------------------
23
24 %import core.i
25 %pythoncode { wx = _core }
26
27 %include __controls_rename.i
28
29 MAKE_CONST_WXSTRING_NOSWIG(PanelNameStr);
30 MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
31 MAKE_CONST_WXSTRING_NOSWIG(ControlNameStr);
32
33 %{
34 const wxArrayString wxPyEmptyStringArray;
35 %}
36
37
38 // Include all the files that make up this module
39
40
41 //%include _control.i <-- It's in core so other modules don't have to %import controls.i
42 %include _button.i
43 %include _checkbox.i
44 %include _choice.i
45 %include _combobox.i
46 %include _gauge.i
47 %include _statctrls.i
48 %include _listbox.i
49 %include _textctrl.i
50 %include _scrolbar.i
51 %include _spin.i
52 %include _radio.i
53 %include _slider.i
54 %include _tglbtn.i
55 %include _notebook.i
56 %include _toolbar.i
57 %include _listctrl.i
58 %include _treectrl.i
59 %include _dirctrl.i
60 %include _pycontrol.i
61 %include _cshelp.i
62 %include _dragimg.i
63 %include _datectrl.i
64
65
66
67 //---------------------------------------------------------------------------
68 //---------------------------------------------------------------------------