"""GetTitle(self) -> String"""
return _windows_.TopLevelWindow_GetTitle(*args, **kwargs)
+ def EnableCloseButton(*args, **kwargs):
+ """EnableCloseButton(self, bool enable) -> bool"""
+ return _windows_.TopLevelWindow_EnableCloseButton(*args, **kwargs)
+
def SetShape(*args, **kwargs):
"""SetShape(self, Region region) -> bool"""
return _windows_.TopLevelWindow_SetShape(*args, **kwargs)
return _windows_.TopLevelWindow_CenterOnScreen(*args, **kwargs)
CentreOnScreen = CenterOnScreen
- def EnableCloseButton(*args, **kwargs):
- """EnableCloseButton(self, bool enable=True) -> bool"""
- return _windows_.TopLevelWindow_EnableCloseButton(*args, **kwargs)
-
def GetDefaultItem(*args, **kwargs):
"""
GetDefaultItem(self) -> Window
#---------------------------------------------------------------------------
+DEFAULT_MINIFRAME_STYLE = _windows_.DEFAULT_MINIFRAME_STYLE
class MiniFrame(Frame):
"""Proxy of C++ MiniFrame class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
"""
__init__(self, Window parent, int id=-1, String title=EmptyString,
Point pos=DefaultPosition, Size size=DefaultSize,
- long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> MiniFrame
+ long style=DEFAULT_MINIFRAME_STYLE, String name=FrameNameStr) -> MiniFrame
"""
_windows_.MiniFrame_swiginit(self,_windows_.new_MiniFrame(*args, **kwargs))
self._setOORInfo(self)
"""
Create(self, Window parent, int id=-1, String title=EmptyString,
Point pos=DefaultPosition, Size size=DefaultSize,
- long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> bool
+ long style=DEFAULT_MINIFRAME_STYLE, String name=FrameNameStr) -> bool
"""
return _windows_.MiniFrame_Create(*args, **kwargs)
AllowSymbols = property(GetAllowSymbols,SetAllowSymbols,doc="See `GetAllowSymbols` and `SetAllowSymbols`")
ChosenFont = property(GetChosenFont,SetChosenFont,doc="See `GetChosenFont` and `SetChosenFont`")
Colour = property(GetColour,SetColour,doc="See `GetColour` and `SetColour`")
- EnableEffects = property(GetEnableEffects,doc="See `GetEnableEffects`")
InitialFont = property(GetInitialFont,SetInitialFont,doc="See `GetInitialFont` and `SetInitialFont`")
ShowHelp = property(GetShowHelp,SetShowHelp,doc="See `GetShowHelp` and `SetShowHelp`")
_windows_.FontData_swigregister(FontData)
"""
return _windows_.ProgressDialog_Update(*args, **kwargs)
- def UpdatePulse(*args, **kwargs):
+ def Pulse(*args, **kwargs):
"""
- UpdatePulse(self, String newmsg) --> (continue, skip)
+ Pulse(self, String newmsg) --> (continue, skip)
Just like `Update` but switches the dialog to use a gauge in
interminante mode and calls `wx.Gauge.Pulse` to show the user a bit of
progress.
"""
- return _windows_.ProgressDialog_UpdatePulse(*args, **kwargs)
+ return _windows_.ProgressDialog_Pulse(*args, **kwargs)
+ UpdatePulse = Pulse
def Resume(*args, **kwargs):
"""
Resume(self)
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _windows_.PyWindow__setCallbackInfo(*args, **kwargs)
- def SetBestSize(*args, **kwargs):
- """SetBestSize(self, Size size)"""
- return _windows_.PyWindow_SetBestSize(*args, **kwargs)
-
+ SetBestSize = wx.Window.SetInitialSize
def DoEraseBackground(*args, **kwargs):
"""DoEraseBackground(self, DC dc) -> bool"""
return _windows_.PyWindow_DoEraseBackground(*args, **kwargs)
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _windows_.PyPanel__setCallbackInfo(*args, **kwargs)
- def SetBestSize(*args, **kwargs):
- """SetBestSize(self, Size size)"""
- return _windows_.PyPanel_SetBestSize(*args, **kwargs)
-
+ SetBestSize = wx.Window.SetInitialSize
def DoEraseBackground(*args, **kwargs):
"""DoEraseBackground(self, DC dc) -> bool"""
return _windows_.PyPanel_DoEraseBackground(*args, **kwargs)
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _windows_.PyScrolledWindow__setCallbackInfo(*args, **kwargs)
- def SetBestSize(*args, **kwargs):
- """SetBestSize(self, Size size)"""
- return _windows_.PyScrolledWindow_SetBestSize(*args, **kwargs)
-
+ SetBestSize = wx.Window.SetInitialSize
def DoEraseBackground(*args, **kwargs):
"""DoEraseBackground(self, DC dc) -> bool"""
return _windows_.PyScrolledWindow_DoEraseBackground(*args, **kwargs)
"""GetPrintMode(self) -> int"""
return _windows_.PrintData_GetPrintMode(*args, **kwargs)
+ def GetMedia(*args, **kwargs):
+ """GetMedia(self) -> int"""
+ return _windows_.PrintData_GetMedia(*args, **kwargs)
+
def SetNoCopies(*args, **kwargs):
"""SetNoCopies(self, int v)"""
return _windows_.PrintData_SetNoCopies(*args, **kwargs)
"""SetPrintMode(self, int printMode)"""
return _windows_.PrintData_SetPrintMode(*args, **kwargs)
+ def SetMedia(*args, **kwargs):
+ """SetMedia(self, int media)"""
+ return _windows_.PrintData_SetMedia(*args, **kwargs)
+
def GetFilename(*args, **kwargs):
"""GetFilename(self) -> String"""
return _windows_.PrintData_GetFilename(*args, **kwargs)
"""SetDC(self, DC dc)"""
return _windows_.Printout_SetDC(*args, **kwargs)
+ def FitThisSizeToPaper(*args, **kwargs):
+ """FitThisSizeToPaper(self, Size imageSize)"""
+ return _windows_.Printout_FitThisSizeToPaper(*args, **kwargs)
+
+ def FitThisSizeToPage(*args, **kwargs):
+ """FitThisSizeToPage(self, Size imageSize)"""
+ return _windows_.Printout_FitThisSizeToPage(*args, **kwargs)
+
+ def FitThisSizeToPageMargins(*args, **kwargs):
+ """FitThisSizeToPageMargins(self, Size imageSize, PageSetupDialogData pageSetupData)"""
+ return _windows_.Printout_FitThisSizeToPageMargins(*args, **kwargs)
+
+ def MapScreenSizeToPaper(*args, **kwargs):
+ """MapScreenSizeToPaper(self)"""
+ return _windows_.Printout_MapScreenSizeToPaper(*args, **kwargs)
+
+ def MapScreenSizeToPage(*args, **kwargs):
+ """MapScreenSizeToPage(self)"""
+ return _windows_.Printout_MapScreenSizeToPage(*args, **kwargs)
+
+ def MapScreenSizeToPageMargins(*args, **kwargs):
+ """MapScreenSizeToPageMargins(self, PageSetupDialogData pageSetupData)"""
+ return _windows_.Printout_MapScreenSizeToPageMargins(*args, **kwargs)
+
+ def MapScreenSizeToDevice(*args, **kwargs):
+ """MapScreenSizeToDevice(self)"""
+ return _windows_.Printout_MapScreenSizeToDevice(*args, **kwargs)
+
+ def GetLogicalPaperRect(*args, **kwargs):
+ """GetLogicalPaperRect(self) -> Rect"""
+ return _windows_.Printout_GetLogicalPaperRect(*args, **kwargs)
+
+ def GetLogicalPageRect(*args, **kwargs):
+ """GetLogicalPageRect(self) -> Rect"""
+ return _windows_.Printout_GetLogicalPageRect(*args, **kwargs)
+
+ def GetLogicalPageMarginsRect(*args, **kwargs):
+ """GetLogicalPageMarginsRect(self, PageSetupDialogData pageSetupData) -> Rect"""
+ return _windows_.Printout_GetLogicalPageMarginsRect(*args, **kwargs)
+
+ def SetLogicalOrigin(*args, **kwargs):
+ """SetLogicalOrigin(self, int x, int y)"""
+ return _windows_.Printout_SetLogicalOrigin(*args, **kwargs)
+
+ def OffsetLogicalOrigin(*args, **kwargs):
+ """OffsetLogicalOrigin(self, int xoff, int yoff)"""
+ return _windows_.Printout_OffsetLogicalOrigin(*args, **kwargs)
+
def SetPageSizePixels(*args, **kwargs):
"""SetPageSizePixels(self, int w, int h)"""
return _windows_.Printout_SetPageSizePixels(*args, **kwargs)
"""GetPPIPrinter() -> (x,y)"""
return _windows_.Printout_GetPPIPrinter(*args, **kwargs)
+ def SetPaperRectPixels(*args, **kwargs):
+ """SetPaperRectPixels(self, Rect paperRectPixels)"""
+ return _windows_.Printout_SetPaperRectPixels(*args, **kwargs)
+
+ def GetPaperRectPixels(*args, **kwargs):
+ """GetPaperRectPixels(self) -> Rect"""
+ return _windows_.Printout_GetPaperRectPixels(*args, **kwargs)
+
def IsPreview(*args, **kwargs):
"""IsPreview(self) -> bool"""
return _windows_.Printout_IsPreview(*args, **kwargs)