]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/mdi.py
1. wxStaticLine implemented (generic (ugly) and MSW versions)
[wxWidgets.git] / utils / wxPython / src / gtk / mdi.py
CommitLineData
70551f47
RD
1# This file was created automatically by SWIG.
2import mdic
3
4from misc import *
5
6from windows import *
7
8from gdi import *
b26e2dc4
RD
9
10from frames import *
11
12from stattool import *
13
14from controls import *
15
16from events import *
105e45b9 17import wx
70551f47
RD
18class 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
70551f47
RD
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>"
51class 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
105e45b9 61 wx._StdFrameCallbacks(self)
70551f47
RD
62
63
64
65
66class 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
ab9bc19b
RD
73 def Maximize(self,arg0):
74 val = mdic.wxMDIChildFrame_Maximize(self.this,arg0)
70551f47
RD
75 return val
76 def Restore(self):
77 val = mdic.wxMDIChildFrame_Restore(self.this)
78 return val
70551f47
RD
79 def __repr__(self):
80 return "<C wxMDIChildFrame instance>"
81class 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
105e45b9 91 wx._StdFrameCallbacks(self)
70551f47
RD
92
93
94
95
96class wxMDIClientWindowPtr(wxWindowPtr):
97 def __init__(self,this):
98 self.this = this
99 self.thisown = 0
100 def __repr__(self):
101 return "<C wxMDIClientWindow instance>"
102class wxMDIClientWindow(wxMDIClientWindowPtr):
103 def __init__(self,arg0,*args) :
104 self.this = apply(mdic.new_wxMDIClientWindow,(arg0.this,)+args)
105 self.thisown = 1
105e45b9
RD
106 wx._StdWindowCallbacks(self)
107 wx._StdOnScrollCallbacks(self)
70551f47
RD
108
109
110
111
112
113
114#-------------- FUNCTION WRAPPERS ------------------
115
116
117
118#-------------- VARIABLE WRAPPERS ------------------
119