]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/mdi.py
incremented wxPython version number
[wxWidgets.git] / utils / wxPython / src / msw / mdi.py
1 # This file was created automatically by SWIG.
2 import mdic
3
4 from misc import *
5
6 from windows import *
7
8 from gdi import *
9
10 from frames import *
11
12 from stattool import *
13
14 from controls import *
15
16 from events import *
17 import wx
18 class wxMDIParentFramePtr(wxFramePtr):
19 def __init__(self,this):
20 self.this = this
21 self.thisown = 0
22 def ActivateNext(self, *_args, **_kwargs):
23 val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs)
24 return val
25 def ActivatePrevious(self, *_args, **_kwargs):
26 val = apply(mdic.wxMDIParentFrame_ActivatePrevious,(self,) + _args, _kwargs)
27 return val
28 def ArrangeIcons(self, *_args, **_kwargs):
29 val = apply(mdic.wxMDIParentFrame_ArrangeIcons,(self,) + _args, _kwargs)
30 return val
31 def Cascade(self, *_args, **_kwargs):
32 val = apply(mdic.wxMDIParentFrame_Cascade,(self,) + _args, _kwargs)
33 return val
34 def GetActiveChild(self, *_args, **_kwargs):
35 val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs)
36 if val: val = wxMDIChildFramePtr(val)
37 return val
38 def GetClientWindow(self, *_args, **_kwargs):
39 val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs)
40 if val: val = wxMDIClientWindowPtr(val)
41 return val
42 def GetToolBar(self, *_args, **_kwargs):
43 val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs)
44 if val: val = wxWindowPtr(val)
45 return val
46 def SetToolBar(self, *_args, **_kwargs):
47 val = apply(mdic.wxMDIParentFrame_SetToolBar,(self,) + _args, _kwargs)
48 return val
49 def Tile(self, *_args, **_kwargs):
50 val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs)
51 return val
52 def __repr__(self):
53 return "<C wxMDIParentFrame instance at %s>" % (self.this,)
54 class wxMDIParentFrame(wxMDIParentFramePtr):
55 def __init__(self,*_args,**_kwargs):
56 self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs)
57 self.thisown = 1
58 wx._StdFrameCallbacks(self)
59
60
61
62
63 class wxMDIChildFramePtr(wxFramePtr):
64 def __init__(self,this):
65 self.this = this
66 self.thisown = 0
67 def Activate(self, *_args, **_kwargs):
68 val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs)
69 return val
70 def Maximize(self, *_args, **_kwargs):
71 val = apply(mdic.wxMDIChildFrame_Maximize,(self,) + _args, _kwargs)
72 return val
73 def Restore(self, *_args, **_kwargs):
74 val = apply(mdic.wxMDIChildFrame_Restore,(self,) + _args, _kwargs)
75 return val
76 def __repr__(self):
77 return "<C wxMDIChildFrame instance at %s>" % (self.this,)
78 class wxMDIChildFrame(wxMDIChildFramePtr):
79 def __init__(self,*_args,**_kwargs):
80 self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs)
81 self.thisown = 1
82 wx._StdFrameCallbacks(self)
83
84
85
86
87 class wxMDIClientWindowPtr(wxWindowPtr):
88 def __init__(self,this):
89 self.this = this
90 self.thisown = 0
91 def __repr__(self):
92 return "<C wxMDIClientWindow instance at %s>" % (self.this,)
93 class wxMDIClientWindow(wxMDIClientWindowPtr):
94 def __init__(self,*_args,**_kwargs):
95 self.this = apply(mdic.new_wxMDIClientWindow,_args,_kwargs)
96 self.thisown = 1
97 wx._StdWindowCallbacks(self)
98 wx._StdOnScrollCallbacks(self)
99
100
101
102
103
104
105 #-------------- FUNCTION WRAPPERS ------------------
106
107
108
109 #-------------- VARIABLE WRAPPERS ------------------
110