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