]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/mdi.py
wxPython version 2.0b5
[wxWidgets.git] / utils / 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 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):
23 val = mdic.wxMDIParentFrame_ActivateNext(self.this)
24 return val
25 def ActivatePrevious(self):
26 val = mdic.wxMDIParentFrame_ActivatePrevious(self.this)
27 return val
28 def ArrangeIcons(self):
29 val = mdic.wxMDIParentFrame_ArrangeIcons(self.this)
30 return val
31 def Cascade(self):
32 val = mdic.wxMDIParentFrame_Cascade(self.this)
33 return val
34 def GetActiveChild(self):
35 val = mdic.wxMDIParentFrame_GetActiveChild(self.this)
36 val = wxMDIChildFramePtr(val)
37 return val
38 def GetClientWindow(self):
39 val = mdic.wxMDIParentFrame_GetClientWindow(self.this)
40 val = wxMDIClientWindowPtr(val)
41 return val
42 def GetToolBar(self):
43 val = mdic.wxMDIParentFrame_GetToolBar(self.this)
44 val = wxWindowPtr(val)
45 return val
46 def Tile(self):
47 val = mdic.wxMDIParentFrame_Tile(self.this)
48 return val
49 def __repr__(self):
50 return "<C wxMDIParentFrame instance>"
51 class wxMDIParentFrame(wxMDIParentFramePtr):
52 def __init__(self,arg0,arg1,arg2,*args) :
53 argl = map(None,args)
54 try: argl[0] = argl[0].this
55 except: pass
56 try: argl[1] = argl[1].this
57 except: pass
58 args = tuple(argl)
59 self.this = apply(mdic.new_wxMDIParentFrame,(arg0.this,arg1,arg2,)+args)
60 self.thisown = 1
61 wx._StdFrameCallbacks(self)
62
63
64
65
66 class wxMDIChildFramePtr(wxFramePtr):
67 def __init__(self,this):
68 self.this = this
69 self.thisown = 0
70 def Activate(self):
71 val = mdic.wxMDIChildFrame_Activate(self.this)
72 return val
73 def Maximize(self):
74 val = mdic.wxMDIChildFrame_Maximize(self.this)
75 return val
76 def Restore(self):
77 val = mdic.wxMDIChildFrame_Restore(self.this)
78 return val
79 def __repr__(self):
80 return "<C wxMDIChildFrame instance>"
81 class wxMDIChildFrame(wxMDIChildFramePtr):
82 def __init__(self,arg0,arg1,arg2,*args) :
83 argl = map(None,args)
84 try: argl[0] = argl[0].this
85 except: pass
86 try: argl[1] = argl[1].this
87 except: pass
88 args = tuple(argl)
89 self.this = apply(mdic.new_wxMDIChildFrame,(arg0.this,arg1,arg2,)+args)
90 self.thisown = 1
91 wx._StdFrameCallbacks(self)
92
93
94
95
96 class wxMDIClientWindowPtr(wxWindowPtr):
97 def __init__(self,this):
98 self.this = this
99 self.thisown = 0
100 def __repr__(self):
101 return "<C wxMDIClientWindow instance>"
102 class wxMDIClientWindow(wxMDIClientWindowPtr):
103 def __init__(self,arg0,*args) :
104 self.this = apply(mdic.new_wxMDIClientWindow,(arg0.this,)+args)
105 self.thisown = 1
106 wx._StdWindowCallbacks(self)
107 wx._StdOnScrollCallbacks(self)
108
109
110
111
112
113
114 #-------------- FUNCTION WRAPPERS ------------------
115
116
117
118 #-------------- VARIABLE WRAPPERS ------------------
119