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