]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/gizmos.py
Added wxDynamicSashWindow to wxPython, plus other odds and ends.
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.py
1 # This file was created automatically by SWIG.
2 import gizmosc
3
4 from misc import *
5
6 from misc2 import *
7
8 from windows import *
9
10 from gdi import *
11
12 from clip_dnd import *
13
14 from events import *
15
16 from streams import *
17
18 from utils import *
19
20 from mdi import *
21
22 from frames import *
23
24 from stattool import *
25
26 from controls import *
27
28 from controls2 import *
29
30 from windows2 import *
31
32 from cmndlgs import *
33
34 from windows3 import *
35
36 from image import *
37
38 from printfw import *
39
40 from sizers import *
41
42 from filesys import *
43
44 def EVT_DYNAMIC_SASH_SPLIT(win, id, func):
45 win.Connect(id, -1, wxEVT_DYNAMIC_SASH_SPLIT, func)
46
47 def EVT_DYNAMIC_SASH_UNIFY(win, id, func):
48 win.Connect(id, -1, wxEVT_DYNAMIC_SASH_UNIFY, func)
49
50 class wxDynamicSashSplitEventPtr(wxCommandEventPtr):
51 def __init__(self,this):
52 self.this = this
53 self.thisown = 0
54 def __repr__(self):
55 return "<C wxDynamicSashSplitEvent instance at %s>" % (self.this,)
56 class wxDynamicSashSplitEvent(wxDynamicSashSplitEventPtr):
57 def __init__(self,*_args,**_kwargs):
58 self.this = apply(gizmosc.new_wxDynamicSashSplitEvent,_args,_kwargs)
59 self.thisown = 1
60
61
62
63
64 class wxDynamicSashUnifyEventPtr(wxCommandEventPtr):
65 def __init__(self,this):
66 self.this = this
67 self.thisown = 0
68 def __repr__(self):
69 return "<C wxDynamicSashUnifyEvent instance at %s>" % (self.this,)
70 class wxDynamicSashUnifyEvent(wxDynamicSashUnifyEventPtr):
71 def __init__(self,*_args,**_kwargs):
72 self.this = apply(gizmosc.new_wxDynamicSashUnifyEvent,_args,_kwargs)
73 self.thisown = 1
74
75
76
77
78 class wxDynamicSashWindowPtr(wxWindowPtr):
79 def __init__(self,this):
80 self.this = this
81 self.thisown = 0
82 def Create(self, *_args, **_kwargs):
83 val = apply(gizmosc.wxDynamicSashWindow_Create,(self,) + _args, _kwargs)
84 return val
85 def GetHScrollBar(self, *_args, **_kwargs):
86 val = apply(gizmosc.wxDynamicSashWindow_GetHScrollBar,(self,) + _args, _kwargs)
87 if val: val = wxScrollBarPtr(val)
88 return val
89 def GetVScrollBar(self, *_args, **_kwargs):
90 val = apply(gizmosc.wxDynamicSashWindow_GetVScrollBar,(self,) + _args, _kwargs)
91 if val: val = wxScrollBarPtr(val)
92 return val
93 def __repr__(self):
94 return "<C wxDynamicSashWindow instance at %s>" % (self.this,)
95 class wxDynamicSashWindow(wxDynamicSashWindowPtr):
96 def __init__(self,*_args,**_kwargs):
97 self.this = apply(gizmosc.new_wxDynamicSashWindow,_args,_kwargs)
98 self.thisown = 1
99 self._setOORInfo(self)
100
101
102
103 def wxPreDynamicSashWindow(*_args,**_kwargs):
104 val = wxDynamicSashWindowPtr(apply(gizmosc.new_wxPreDynamicSashWindow,_args,_kwargs))
105 val.thisown = 1
106 val._setOORInfo(val)
107 return val
108
109
110
111
112 #-------------- FUNCTION WRAPPERS ------------------
113
114
115
116 #-------------- VARIABLE WRAPPERS ------------------
117
118 wxEVT_DYNAMIC_SASH_SPLIT = gizmosc.wxEVT_DYNAMIC_SASH_SPLIT
119 wxEVT_DYNAMIC_SASH_UNIFY = gizmosc.wxEVT_DYNAMIC_SASH_UNIFY
120 wxDS_MANAGE_SCROLLBARS = gizmosc.wxDS_MANAGE_SCROLLBARS
121 wxDS_DRAG_CORNER = gizmosc.wxDS_DRAG_CORNER
122
123
124 #-------------- USER INCLUDE -----------------------
125
126 # Stuff these names into the wx namespace so wxPyConstructObject can find them
127
128 wx.wxDynamicSashSplitEventPtr = wxDynamicSashSplitEventPtr
129 wx.wxDynamicSashUnifyEventPtr = wxDynamicSashUnifyEventPtr
130 wx.wxDynamicSashWindowPtr = wxDynamicSashWindowPtr