]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/frames.py
Made SetType public to match MSW.
[wxWidgets.git] / utils / wxPython / src / gtk / frames.py
CommitLineData
b26e2dc4
RD
1# This file was created automatically by SWIG.
2import framesc
3
4from misc import *
5
6from gdi import *
7
8from windows import *
9
10from stattool import *
11
12from controls import *
13
14from events import *
105e45b9 15import wx
b26e2dc4
RD
16class wxFramePtr(wxWindowPtr):
17 def __init__(self,this):
18 self.this = this
19 self.thisown = 0
2d091820
RD
20 def Centre(self, *_args, **_kwargs):
21 val = apply(framesc.wxFrame_Centre,(self,) + _args, _kwargs)
b26e2dc4 22 return val
2d091820
RD
23 def CreateStatusBar(self, *_args, **_kwargs):
24 val = apply(framesc.wxFrame_CreateStatusBar,(self,) + _args, _kwargs)
25 if val: val = wxStatusBarPtr(val)
b26e2dc4 26 return val
2d091820
RD
27 def CreateToolBar(self, *_args, **_kwargs):
28 val = apply(framesc.wxFrame_CreateToolBar,(self,) + _args, _kwargs)
29 if val: val = wxToolBarPtr(val)
b26e2dc4 30 return val
2d091820
RD
31 def GetMenuBar(self, *_args, **_kwargs):
32 val = apply(framesc.wxFrame_GetMenuBar,(self,) + _args, _kwargs)
33 if val: val = wxMenuBarPtr(val)
b26e2dc4 34 return val
2d091820
RD
35 def GetStatusBar(self, *_args, **_kwargs):
36 val = apply(framesc.wxFrame_GetStatusBar,(self,) + _args, _kwargs)
37 if val: val = wxStatusBarPtr(val)
b26e2dc4 38 return val
2d091820
RD
39 def GetTitle(self, *_args, **_kwargs):
40 val = apply(framesc.wxFrame_GetTitle,(self,) + _args, _kwargs)
b26e2dc4 41 return val
2d091820
RD
42 def GetToolBar(self, *_args, **_kwargs):
43 val = apply(framesc.wxFrame_GetToolBar,(self,) + _args, _kwargs)
44 if val: val = wxToolBarPtr(val)
b26e2dc4 45 return val
2d091820
RD
46 def Iconize(self, *_args, **_kwargs):
47 val = apply(framesc.wxFrame_Iconize,(self,) + _args, _kwargs)
b26e2dc4 48 return val
2d091820
RD
49 def IsIconized(self, *_args, **_kwargs):
50 val = apply(framesc.wxFrame_IsIconized,(self,) + _args, _kwargs)
b26e2dc4 51 return val
2d091820
RD
52 def Maximize(self, *_args, **_kwargs):
53 val = apply(framesc.wxFrame_Maximize,(self,) + _args, _kwargs)
b26e2dc4 54 return val
2d091820
RD
55 def SetAcceleratorTable(self, *_args, **_kwargs):
56 val = apply(framesc.wxFrame_SetAcceleratorTable,(self,) + _args, _kwargs)
faf3cb35 57 return val
2d091820
RD
58 def SetIcon(self, *_args, **_kwargs):
59 val = apply(framesc.wxFrame_SetIcon,(self,) + _args, _kwargs)
b26e2dc4 60 return val
2d091820
RD
61 def SetMenuBar(self, *_args, **_kwargs):
62 val = apply(framesc.wxFrame_SetMenuBar,(self,) + _args, _kwargs)
b26e2dc4 63 return val
2d091820
RD
64 def SetStatusBar(self, *_args, **_kwargs):
65 val = apply(framesc.wxFrame_SetStatusBar,(self,) + _args, _kwargs)
b26e2dc4 66 return val
2d091820
RD
67 def SetStatusText(self, *_args, **_kwargs):
68 val = apply(framesc.wxFrame_SetStatusText,(self,) + _args, _kwargs)
b26e2dc4 69 return val
2d091820
RD
70 def SetStatusWidths(self, *_args, **_kwargs):
71 val = apply(framesc.wxFrame_SetStatusWidths,(self,) + _args, _kwargs)
b26e2dc4 72 return val
2d091820
RD
73 def SetTitle(self, *_args, **_kwargs):
74 val = apply(framesc.wxFrame_SetTitle,(self,) + _args, _kwargs)
b26e2dc4 75 return val
2d091820
RD
76 def SetToolBar(self, *_args, **_kwargs):
77 val = apply(framesc.wxFrame_SetToolBar,(self,) + _args, _kwargs)
b26e2dc4
RD
78 return val
79 def __repr__(self):
2d091820 80 return "<C wxFrame instance at %s>" % (self.this,)
b26e2dc4 81class wxFrame(wxFramePtr):
2d091820
RD
82 def __init__(self,*_args,**_kwargs):
83 self.this = apply(framesc.new_wxFrame,_args,_kwargs)
b26e2dc4 84 self.thisown = 1
105e45b9
RD
85 wx._StdFrameCallbacks(self)
86
87
88
89
90class wxMiniFramePtr(wxFramePtr):
91 def __init__(self,this):
92 self.this = this
93 self.thisown = 0
94 def __repr__(self):
2d091820 95 return "<C wxMiniFrame instance at %s>" % (self.this,)
105e45b9 96class wxMiniFrame(wxMiniFramePtr):
2d091820
RD
97 def __init__(self,*_args,**_kwargs):
98 self.this = apply(framesc.new_wxMiniFrame,_args,_kwargs)
105e45b9
RD
99 self.thisown = 1
100 wx._StdFrameCallbacks(self)
b26e2dc4
RD
101
102
103
104
105
106
107#-------------- FUNCTION WRAPPERS ------------------
108
109
110
111#-------------- VARIABLE WRAPPERS ------------------
112