]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/mdi.py
Changes needed to get upto date with the latest wx CVS
[wxWidgets.git] / 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 9
a323d3bd
RD
10from fonts import *
11
4120ef2b
RD
12from clip_dnd import *
13
b26e2dc4
RD
14from frames import *
15
16from stattool import *
17
18from controls import *
19
20from events import *
105e45b9 21import wx
70551f47
RD
22class wxMDIParentFramePtr(wxFramePtr):
23 def __init__(self,this):
24 self.this = this
25 self.thisown = 0
aa2a5b86 26 def Create(self, *_args, **_kwargs):
1fded56b 27 val = mdic.wxMDIParentFrame_Create(self, *_args, **_kwargs)
aa2a5b86 28 return val
2d091820 29 def ActivateNext(self, *_args, **_kwargs):
1fded56b 30 val = mdic.wxMDIParentFrame_ActivateNext(self, *_args, **_kwargs)
70551f47 31 return val
2d091820 32 def ActivatePrevious(self, *_args, **_kwargs):
1fded56b 33 val = mdic.wxMDIParentFrame_ActivatePrevious(self, *_args, **_kwargs)
70551f47 34 return val
2d091820 35 def ArrangeIcons(self, *_args, **_kwargs):
1fded56b 36 val = mdic.wxMDIParentFrame_ArrangeIcons(self, *_args, **_kwargs)
70551f47 37 return val
2d091820 38 def Cascade(self, *_args, **_kwargs):
1fded56b 39 val = mdic.wxMDIParentFrame_Cascade(self, *_args, **_kwargs)
70551f47 40 return val
2d091820 41 def GetActiveChild(self, *_args, **_kwargs):
1fded56b 42 val = mdic.wxMDIParentFrame_GetActiveChild(self, *_args, **_kwargs)
70551f47 43 return val
2d091820 44 def GetClientWindow(self, *_args, **_kwargs):
1fded56b 45 val = mdic.wxMDIParentFrame_GetClientWindow(self, *_args, **_kwargs)
70551f47 46 return val
2d091820 47 def GetToolBar(self, *_args, **_kwargs):
1fded56b 48 val = mdic.wxMDIParentFrame_GetToolBar(self, *_args, **_kwargs)
70551f47 49 return val
2d091820 50 def Tile(self, *_args, **_kwargs):
1fded56b 51 val = mdic.wxMDIParentFrame_Tile(self, *_args, **_kwargs)
70551f47
RD
52 return val
53 def __repr__(self):
1fded56b 54 return "<%s.%s instance; proxy of C++ wxMDIParentFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
70551f47 55class wxMDIParentFrame(wxMDIParentFramePtr):
2d091820 56 def __init__(self,*_args,**_kwargs):
1fded56b 57 self.this = mdic.new_wxMDIParentFrame(*_args,**_kwargs)
70551f47 58 self.thisown = 1
0220cbc1 59 self._setOORInfo(self)
70551f47
RD
60
61
62
aa2a5b86 63def wxPreMDIParentFrame(*_args,**_kwargs):
1fded56b 64 val = wxMDIParentFramePtr(mdic.new_wxPreMDIParentFrame(*_args,**_kwargs))
aa2a5b86 65 val.thisown = 1
17c0e08c 66 val._setOORInfo(val)
aa2a5b86
RD
67 return val
68
70551f47
RD
69
70class wxMDIChildFramePtr(wxFramePtr):
71 def __init__(self,this):
72 self.this = this
73 self.thisown = 0
aa2a5b86 74 def Create(self, *_args, **_kwargs):
1fded56b 75 val = mdic.wxMDIChildFrame_Create(self, *_args, **_kwargs)
aa2a5b86 76 return val
2d091820 77 def Activate(self, *_args, **_kwargs):
1fded56b 78 val = mdic.wxMDIChildFrame_Activate(self, *_args, **_kwargs)
70551f47 79 return val
2d091820 80 def Maximize(self, *_args, **_kwargs):
1fded56b 81 val = mdic.wxMDIChildFrame_Maximize(self, *_args, **_kwargs)
70551f47 82 return val
2d091820 83 def Restore(self, *_args, **_kwargs):
1fded56b 84 val = mdic.wxMDIChildFrame_Restore(self, *_args, **_kwargs)
70551f47 85 return val
70551f47 86 def __repr__(self):
1fded56b 87 return "<%s.%s instance; proxy of C++ wxMDIChildFrame instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
70551f47 88class wxMDIChildFrame(wxMDIChildFramePtr):
2d091820 89 def __init__(self,*_args,**_kwargs):
1fded56b 90 self.this = mdic.new_wxMDIChildFrame(*_args,**_kwargs)
70551f47 91 self.thisown = 1
0220cbc1 92 self._setOORInfo(self)
70551f47
RD
93
94
95
aa2a5b86 96def wxPreMDIChildFrame(*_args,**_kwargs):
1fded56b 97 val = wxMDIChildFramePtr(mdic.new_wxPreMDIChildFrame(*_args,**_kwargs))
aa2a5b86 98 val.thisown = 1
17c0e08c 99 val._setOORInfo(val)
aa2a5b86
RD
100 return val
101
70551f47
RD
102
103class wxMDIClientWindowPtr(wxWindowPtr):
104 def __init__(self,this):
105 self.this = this
106 self.thisown = 0
aa2a5b86 107 def Create(self, *_args, **_kwargs):
1fded56b 108 val = mdic.wxMDIClientWindow_Create(self, *_args, **_kwargs)
aa2a5b86 109 return val
70551f47 110 def __repr__(self):
1fded56b 111 return "<%s.%s instance; proxy of C++ wxMDIClientWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
70551f47 112class wxMDIClientWindow(wxMDIClientWindowPtr):
2d091820 113 def __init__(self,*_args,**_kwargs):
1fded56b 114 self.this = mdic.new_wxMDIClientWindow(*_args,**_kwargs)
70551f47 115 self.thisown = 1
0220cbc1 116 self._setOORInfo(self)
aa2a5b86 117
70551f47
RD
118
119
aa2a5b86 120def wxPreMDIClientWindow(*_args,**_kwargs):
1fded56b 121 val = wxMDIClientWindowPtr(mdic.new_wxPreMDIClientWindow(*_args,**_kwargs))
aa2a5b86 122 val.thisown = 1
17c0e08c 123 val._setOORInfo(val)
aa2a5b86 124 return val
70551f47
RD
125
126
127
128
129#-------------- FUNCTION WRAPPERS ------------------
130
131
132
133#-------------- VARIABLE WRAPPERS ------------------
134
49df1f52
RD
135IDM_WINDOWTILE = mdic.IDM_WINDOWTILE
136IDM_WINDOWTILEHOR = mdic.IDM_WINDOWTILEHOR
137IDM_WINDOWCASCADE = mdic.IDM_WINDOWCASCADE
138IDM_WINDOWICONS = mdic.IDM_WINDOWICONS
139IDM_WINDOWNEXT = mdic.IDM_WINDOWNEXT
140IDM_WINDOWTILEVERT = mdic.IDM_WINDOWTILEVERT
141wxFIRST_MDI_CHILD = mdic.wxFIRST_MDI_CHILD
142wxLAST_MDI_CHILD = mdic.wxLAST_MDI_CHILD