]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/wxPython/src/gtk/mdi.py
*** empty log message ***
[wxWidgets.git] / utils / wxPython / src / gtk / mdi.py
... / ...
CommitLineData
1# This file was created automatically by SWIG.
2import mdic
3
4from misc import *
5
6from windows import *
7
8from gdi import *
9
10from frames import *
11
12from stattool import *
13
14from controls import *
15
16from events import *
17import wx
18class wxMDIParentFramePtr(wxFramePtr):
19 def __init__(self,this):
20 self.this = this
21 self.thisown = 0
22 def ActivateNext(self, *_args, **_kwargs):
23 val = apply(mdic.wxMDIParentFrame_ActivateNext,(self,) + _args, _kwargs)
24 return val
25 def ActivatePrevious(self, *_args, **_kwargs):
26 val = apply(mdic.wxMDIParentFrame_ActivatePrevious,(self,) + _args, _kwargs)
27 return val
28 def ArrangeIcons(self, *_args, **_kwargs):
29 val = apply(mdic.wxMDIParentFrame_ArrangeIcons,(self,) + _args, _kwargs)
30 return val
31 def Cascade(self, *_args, **_kwargs):
32 val = apply(mdic.wxMDIParentFrame_Cascade,(self,) + _args, _kwargs)
33 return val
34 def GetActiveChild(self, *_args, **_kwargs):
35 val = apply(mdic.wxMDIParentFrame_GetActiveChild,(self,) + _args, _kwargs)
36 if val: val = wxMDIChildFramePtr(val)
37 return val
38 def GetClientWindow(self, *_args, **_kwargs):
39 val = apply(mdic.wxMDIParentFrame_GetClientWindow,(self,) + _args, _kwargs)
40 if val: val = wxMDIClientWindowPtr(val)
41 return val
42 def GetToolBar(self, *_args, **_kwargs):
43 val = apply(mdic.wxMDIParentFrame_GetToolBar,(self,) + _args, _kwargs)
44 if val: val = wxWindowPtr(val)
45 return val
46 def Tile(self, *_args, **_kwargs):
47 val = apply(mdic.wxMDIParentFrame_Tile,(self,) + _args, _kwargs)
48 return val
49 def __repr__(self):
50 return "<C wxMDIParentFrame instance at %s>" % (self.this,)
51class wxMDIParentFrame(wxMDIParentFramePtr):
52 def __init__(self,*_args,**_kwargs):
53 self.this = apply(mdic.new_wxMDIParentFrame,_args,_kwargs)
54 self.thisown = 1
55 wx._StdFrameCallbacks(self)
56
57
58
59
60class wxMDIChildFramePtr(wxFramePtr):
61 def __init__(self,this):
62 self.this = this
63 self.thisown = 0
64 def Activate(self, *_args, **_kwargs):
65 val = apply(mdic.wxMDIChildFrame_Activate,(self,) + _args, _kwargs)
66 return val
67 def Maximize(self, *_args, **_kwargs):
68 val = apply(mdic.wxMDIChildFrame_Maximize,(self,) + _args, _kwargs)
69 return val
70 def Restore(self, *_args, **_kwargs):
71 val = apply(mdic.wxMDIChildFrame_Restore,(self,) + _args, _kwargs)
72 return val
73 def __repr__(self):
74 return "<C wxMDIChildFrame instance at %s>" % (self.this,)
75class wxMDIChildFrame(wxMDIChildFramePtr):
76 def __init__(self,*_args,**_kwargs):
77 self.this = apply(mdic.new_wxMDIChildFrame,_args,_kwargs)
78 self.thisown = 1
79 wx._StdFrameCallbacks(self)
80
81
82
83
84class wxMDIClientWindowPtr(wxWindowPtr):
85 def __init__(self,this):
86 self.this = this
87 self.thisown = 0
88 def __repr__(self):
89 return "<C wxMDIClientWindow instance at %s>" % (self.this,)
90class wxMDIClientWindow(wxMDIClientWindowPtr):
91 def __init__(self,*_args,**_kwargs):
92 self.this = apply(mdic.new_wxMDIClientWindow,_args,_kwargs)
93 self.thisown = 1
94 wx._StdWindowCallbacks(self)
95 wx._StdOnScrollCallbacks(self)
96
97
98
99
100
101
102#-------------- FUNCTION WRAPPERS ------------------
103
104
105
106#-------------- VARIABLE WRAPPERS ------------------
107