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