]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/mdi.py
hopefully fixes focus assertion
[wxWidgets.git] / wxPython / src / gtk / 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 Create(self, *_args, **_kwargs):
25 val = apply(mdic.wxMDIParentFrame_Create,(self,) + _args, _kwargs)
26 return val
27 def ActivateNext(self, *_args, **_kwargs):
28 val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs)
29 return val
30 def ActivatePrevious(self, *_args, **_kwargs):
31 val = apply(mdic.wxMDIParentFrame_ActivatePrevious,(self,) + _args, _kwargs)
32 return val
33 def ArrangeIcons(self, *_args, **_kwargs):
34 val = apply(mdic.wxMDIParentFrame_ArrangeIcons,(self,) + _args, _kwargs)
35 return val
36 def Cascade(self, *_args, **_kwargs):
37 val = apply(mdic.wxMDIParentFrame_Cascade,(self,) + _args, _kwargs)
38 return val
39 def GetActiveChild(self, *_args, **_kwargs):
40 val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs)
41 return val
42 def GetClientWindow(self, *_args, **_kwargs):
43 val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs)
44 return val
45 def GetToolBar(self, *_args, **_kwargs):
46 val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs)
47 return val
48 def Tile(self, *_args, **_kwargs):
49 val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs)
50 return val
51 def __repr__(self):
52 return "<C wxMDIParentFrame instance at %s>" % (self.this,)
53 class wxMDIParentFrame(wxMDIParentFramePtr):
54 def __init__(self,*_args,**_kwargs):
55 self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs)
56 self.thisown = 1
57
58
59
60 def wxPreMDIParentFrame(*_args,**_kwargs):
61 val = wxMDIParentFramePtr(apply(mdic.new_wxPreMDIParentFrame,_args,_kwargs))
62 val.thisown = 1
63 return val
64
65
66 class wxMDIChildFramePtr(wxFramePtr):
67 def __init__(self,this):
68 self.this = this
69 self.thisown = 0
70 def Create(self, *_args, **_kwargs):
71 val = apply(mdic.wxMDIChildFrame_Create,(self,) + _args, _kwargs)
72 return val
73 def Activate(self, *_args, **_kwargs):
74 val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs)
75 return val
76 def Maximize(self, *_args, **_kwargs):
77 val = apply(mdic.wxMDIChildFrame_Maximize,(self,) + _args, _kwargs)
78 return val
79 def Restore(self, *_args, **_kwargs):
80 val = apply(mdic.wxMDIChildFrame_Restore,(self,) + _args, _kwargs)
81 return val
82 def __repr__(self):
83 return "<C wxMDIChildFrame instance at %s>" % (self.this,)
84 class wxMDIChildFrame(wxMDIChildFramePtr):
85 def __init__(self,*_args,**_kwargs):
86 self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs)
87 self.thisown = 1
88
89
90
91 def wxPreMDIChildFrame(*_args,**_kwargs):
92 val = wxMDIChildFramePtr(apply(mdic.new_wxPreMDIChildFrame,_args,_kwargs))
93 val.thisown = 1
94 return val
95
96
97 class wxMDIClientWindowPtr(wxWindowPtr):
98 def __init__(self,this):
99 self.this = this
100 self.thisown = 0
101 def Create(self, *_args, **_kwargs):
102 val = apply(mdic.wxMDIClientWindow_Create,(self,) + _args, _kwargs)
103 return val
104 def __repr__(self):
105 return "<C wxMDIClientWindow instance at %s>" % (self.this,)
106 class wxMDIClientWindow(wxMDIClientWindowPtr):
107 def __init__(self,*_args,**_kwargs):
108 self.this = apply(mdic.new_wxMDIClientWindow,_args,_kwargs)
109 self.thisown = 1
110 #wx._StdWindowCallbacks(self)
111 #wx._StdOnScrollCallbacks(self)
112 #wx._StdWindowCallbacks(self)
113 #wx._StdOnScrollCallbacks(self)
114
115
116
117 def wxPreMDIClientWindow(*_args,**_kwargs):
118 val = wxMDIClientWindowPtr(apply(mdic.new_wxPreMDIClientWindow,_args,_kwargs))
119 val.thisown = 1
120 return val
121
122
123
124
125 #-------------- FUNCTION WRAPPERS ------------------
126
127
128
129 #-------------- VARIABLE WRAPPERS ------------------
130