MINIMIZE = _windows_.MINIMIZE
MAXIMIZE = _windows_.MAXIMIZE
CLOSE_BOX = _windows_.CLOSE_BOX
-THICK_FRAME = _windows_.THICK_FRAME
SYSTEM_MENU = _windows_.SYSTEM_MENU
MINIMIZE_BOX = _windows_.MINIMIZE_BOX
MAXIMIZE_BOX = _windows_.MAXIMIZE_BOX
TINY_CAPTION_HORIZ = _windows_.TINY_CAPTION_HORIZ
TINY_CAPTION_VERT = _windows_.TINY_CAPTION_VERT
-RESIZE_BOX = _windows_.RESIZE_BOX
RESIZE_BORDER = _windows_.RESIZE_BORDER
DIALOG_NO_PARENT = _windows_.DIALOG_NO_PARENT
DEFAULT_FRAME_STYLE = _windows_.DEFAULT_FRAME_STYLE
FRAME_EX_METAL = _windows_.FRAME_EX_METAL
DIALOG_EX_METAL = _windows_.DIALOG_EX_METAL
WS_EX_CONTEXTHELP = _windows_.WS_EX_CONTEXTHELP
-DIALOG_MODAL = _windows_.DIALOG_MODAL
-DIALOG_MODELESS = _windows_.DIALOG_MODELESS
-USER_COLOURS = _windows_.USER_COLOURS
-NO_3D = _windows_.NO_3D
FRAME_EX_CONTEXTHELP = _windows_.FRAME_EX_CONTEXTHELP
DIALOG_EX_CONTEXTHELP = _windows_.DIALOG_EX_CONTEXTHELP
+# deprecated
+RESIZE_BOX = MAXIMIZE_BOX
+THICK_FRAME = RESIZE_BORDER
+
+# Obsolete
+wxDIALOG_MODAL = 0
+wxDIALOG_MODELESS = 0
+wxUSER_COLOURS = 0
+wxNO_3D = 0
+
FULLSCREEN_NOMENUBAR = _windows_.FULLSCREEN_NOMENUBAR
FULLSCREEN_NOTOOLBAR = _windows_.FULLSCREEN_NOTOOLBAR
FULLSCREEN_NOSTATUSBAR = _windows_.FULLSCREEN_NOSTATUSBAR
"""GetSashVisible(self, int edge) -> bool"""
return _windows_.SashWindow_GetSashVisible(*args, **kwargs)
- def SetSashBorder(*args, **kwargs):
- """SetSashBorder(self, int edge, bool border)"""
- return _windows_.SashWindow_SetSashBorder(*args, **kwargs)
-
- def HasBorder(*args, **kwargs):
- """HasBorder(self, int edge) -> bool"""
- return _windows_.SashWindow_HasBorder(*args, **kwargs)
-
def GetEdgeMargin(*args, **kwargs):
"""GetEdgeMargin(self, int edge) -> int"""
return _windows_.SashWindow_GetEdgeMargin(*args, **kwargs)
def __init__(self, *args, **kwargs):
"""__init__(self, Window parent, int style=BORDER_NONE) -> PopupTransientWindow"""
_windows_.PopupTransientWindow_swiginit(self,_windows_.new_PopupTransientWindow(*args, **kwargs))
- self._setOORInfo(self);self._setCallbackInfo(self, PopupTransientWindow)
+ self._setOORInfo(self);PopupTransientWindow._setCallbackInfo(self, self, PopupTransientWindow)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
Size size=DefaultSize, long style=0, String name=PanelNameStr) -> VScrolledWindow
"""
_windows_.VScrolledWindow_swiginit(self,_windows_.new_VScrolledWindow(*args, **kwargs))
- self._setOORInfo(self); self._setCallbackInfo(self, VScrolledWindow)
+ self._setOORInfo(self);VScrolledWindow._setCallbackInfo(self, self, VScrolledWindow)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> VListBox
"""
_windows_.VListBox_swiginit(self,_windows_.new_VListBox(*args, **kwargs))
- self._setOORInfo(self);self._setCallbackInfo(self, VListBox)
+ self._setOORInfo(self);VListBox._setCallbackInfo(self, self, VListBox)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
"""SetSelectionBackground(self, Colour col)"""
return _windows_.VListBox_SetSelectionBackground(*args, **kwargs)
+ def RefreshSelected(*args, **kwargs):
+ """RefreshSelected(self)"""
+ return _windows_.VListBox_RefreshSelected(*args, **kwargs)
+
def OnDrawSeparator(*args, **kwargs):
"""OnDrawSeparator(self, DC dc, Rect rect, size_t n)"""
return _windows_.VListBox_OnDrawSeparator(*args, **kwargs)
Size size=DefaultSize, long style=0, String name=VListBoxNameStr) -> HtmlListBox
"""
_windows_.HtmlListBox_swiginit(self,_windows_.new_HtmlListBox(*args, **kwargs))
- self._setOORInfo(self);self._setCallbackInfo(self, HtmlListBox)
+ self._setOORInfo(self);HtmlListBox._setCallbackInfo(self, self, HtmlListBox)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
val = _windows_.new_PreHtmlListBox(*args, **kwargs)
return val
+HLB_DEFAULT_STYLE = _windows_.HLB_DEFAULT_STYLE
+HLB_MULTIPLE = _windows_.HLB_MULTIPLE
+class SimpleHtmlListBox(HtmlListBox,_core.ItemContainer):
+ """Proxy of C++ SimpleHtmlListBox class"""
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+ __repr__ = _swig_repr
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
+ long style=HLB_DEFAULT_STYLE,
+ Validator validator=DefaultValidator,
+ String name=SimpleHtmlListBoxNameStr) -> SimpleHtmlListBox
+ """
+ _windows_.SimpleHtmlListBox_swiginit(self,_windows_.new_SimpleHtmlListBox(*args, **kwargs))
+ self._setOORInfo(self)
+
+ def Create(*args, **kwargs):
+ """
+ Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
+ Size size=DefaultSize, wxArrayString choices=wxPyEmptyStringArray,
+ long style=HLB_DEFAULT_STYLE,
+ Validator validator=DefaultValidator,
+ String name=SimpleHtmlListBoxNameStr) -> bool
+ """
+ return _windows_.SimpleHtmlListBox_Create(*args, **kwargs)
+
+_windows_.SimpleHtmlListBox_swigregister(SimpleHtmlListBox)
+SimpleHtmlListBoxNameStr = cvar.SimpleHtmlListBoxNameStr
+
+def PreSimpleHtmlListBox(*args, **kwargs):
+ """PreSimpleHtmlListBox() -> SimpleHtmlListBox"""
+ val = _windows_.new_PreSimpleHtmlListBox(*args, **kwargs)
+ return val
+
#---------------------------------------------------------------------------
class TaskBarIcon(_core.EvtHandler):
def __init__(self, *args, **kwargs):
"""__init__(self) -> TaskBarIcon"""
_windows_.TaskBarIcon_swiginit(self,_windows_.new_TaskBarIcon(*args, **kwargs))
- self._setCallbackInfo(self, TaskBarIcon, 0)
+ TaskBarIcon._setCallbackInfo(self, self, TaskBarIcon)
__swig_destroy__ = _windows_.delete_TaskBarIcon
__del__ = lambda self : None;
def _setCallbackInfo(*args, **kwargs):
- """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
+ """_setCallbackInfo(self, PyObject self, PyObject _class, int incref=0)"""
return _windows_.TaskBarIcon__setCallbackInfo(*args, **kwargs)
def Destroy(*args, **kwargs):
wxEVT_TASKBAR_RIGHT_UP = _windows_.wxEVT_TASKBAR_RIGHT_UP
wxEVT_TASKBAR_LEFT_DCLICK = _windows_.wxEVT_TASKBAR_LEFT_DCLICK
wxEVT_TASKBAR_RIGHT_DCLICK = _windows_.wxEVT_TASKBAR_RIGHT_DCLICK
+wxEVT_TASKBAR_CLICK = _windows_.wxEVT_TASKBAR_CLICK
EVT_TASKBAR_MOVE = wx.PyEventBinder ( wxEVT_TASKBAR_MOVE )
EVT_TASKBAR_LEFT_DOWN = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DOWN )
EVT_TASKBAR_LEFT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_UP )
EVT_TASKBAR_RIGHT_UP = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_UP )
EVT_TASKBAR_LEFT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_LEFT_DCLICK )
EVT_TASKBAR_RIGHT_DCLICK = wx.PyEventBinder ( wxEVT_TASKBAR_RIGHT_DCLICK )
+EVT_TASKBAR_CLICK = wx.PyEventBinder ( wxEVT_TASKBAR_CLICK )
#---------------------------------------------------------------------------
String caption=EmptyString) -> Colour
"""
return _windows_.GetColourFromUser(*args, **kwargs)
+DD_CHANGE_DIR = _windows_.DD_CHANGE_DIR
+DD_DIR_MUST_EXIST = _windows_.DD_DIR_MUST_EXIST
DD_NEW_DIR_BUTTON = _windows_.DD_NEW_DIR_BUTTON
DD_DEFAULT_STYLE = _windows_.DD_DEFAULT_STYLE
-DD_CHANGE_DIR = _windows_.DD_CHANGE_DIR
class DirDialog(Dialog):
"""
wx.DirDialog allows the user to select a directory by browising the
Path = property(GetPath,SetPath,doc="See `GetPath` and `SetPath`")
_windows_.DirDialog_swigregister(DirDialog)
-OPEN = _windows_.OPEN
-SAVE = _windows_.SAVE
-OVERWRITE_PROMPT = _windows_.OVERWRITE_PROMPT
-FILE_MUST_EXIST = _windows_.FILE_MUST_EXIST
-MULTIPLE = _windows_.MULTIPLE
-CHANGE_DIR = _windows_.CHANGE_DIR
-HIDE_READONLY = _windows_.HIDE_READONLY
FD_OPEN = _windows_.FD_OPEN
FD_SAVE = _windows_.FD_SAVE
FD_OVERWRITE_PROMPT = _windows_.FD_OVERWRITE_PROMPT
FD_CHANGE_DIR = _windows_.FD_CHANGE_DIR
FD_PREVIEW = _windows_.FD_PREVIEW
FD_DEFAULT_STYLE = _windows_.FD_DEFAULT_STYLE
+# deprecated names
+OPEN = FD_OPEN,
+SAVE = FD_SAVE,
+OVERWRITE_PROMPT = FD_OVERWRITE_PROMPT,
+FILE_MUST_EXIST = FD_FILE_MUST_EXIST,
+MULTIPLE = FD_MULTIPLE,
+CHANGE_DIR = FD_CHANGE_DIR
+
class FileDialog(Dialog):
"""
wx.FileDialog allows the user to select one or more files from the
Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyWindow
"""
_windows_.PyWindow_swiginit(self,_windows_.new_PyWindow(*args, **kwargs))
- self._setOORInfo(self); self._setCallbackInfo(self, PyWindow)
+ self._setOORInfo(self);PyWindow._setCallbackInfo(self, self, PyWindow)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _windows_.PyWindow__setCallbackInfo(*args, **kwargs)
+ SetBestSize = wx.Window.SetInitialSize
def DoEraseBackground(*args, **kwargs):
"""DoEraseBackground(self, DC dc) -> bool"""
return _windows_.PyWindow_DoEraseBackground(*args, **kwargs)
Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyPanel
"""
_windows_.PyPanel_swiginit(self,_windows_.new_PyPanel(*args, **kwargs))
- self._setOORInfo(self); self._setCallbackInfo(self, PyPanel)
+ self._setOORInfo(self);PyPanel._setCallbackInfo(self, self, PyPanel)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _windows_.PyPanel__setCallbackInfo(*args, **kwargs)
+ SetBestSize = wx.Window.SetInitialSize
def DoEraseBackground(*args, **kwargs):
"""DoEraseBackground(self, DC dc) -> bool"""
return _windows_.PyPanel_DoEraseBackground(*args, **kwargs)
Size size=DefaultSize, long style=0, String name=PanelNameStr) -> PyScrolledWindow
"""
_windows_.PyScrolledWindow_swiginit(self,_windows_.new_PyScrolledWindow(*args, **kwargs))
- self._setOORInfo(self); self._setCallbackInfo(self, PyScrolledWindow)
+ self._setOORInfo(self);PyScrolledWindow._setCallbackInfo(self, self, PyScrolledWindow)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _windows_.PyScrolledWindow__setCallbackInfo(*args, **kwargs)
+ SetBestSize = wx.Window.SetInitialSize
def DoEraseBackground(*args, **kwargs):
"""DoEraseBackground(self, DC dc) -> bool"""
return _windows_.PyScrolledWindow_DoEraseBackground(*args, **kwargs)
"""GetOrientation(self) -> int"""
return _windows_.PrintData_GetOrientation(*args, **kwargs)
+ def IsOrientationReversed(*args, **kwargs):
+ """IsOrientationReversed(self) -> bool"""
+ return _windows_.PrintData_IsOrientationReversed(*args, **kwargs)
+
def IsOk(*args, **kwargs):
"""IsOk(self) -> bool"""
return _windows_.PrintData_IsOk(*args, **kwargs)
"""SetOrientation(self, int orient)"""
return _windows_.PrintData_SetOrientation(*args, **kwargs)
+ def SetOrientationReversed(*args, **kwargs):
+ """SetOrientationReversed(self, bool reversed)"""
+ return _windows_.PrintData_SetOrientationReversed(*args, **kwargs)
+
def SetPrinterName(*args, **kwargs):
"""SetPrinterName(self, String name)"""
return _windows_.PrintData_SetPrinterName(*args, **kwargs)
def __init__(self, *args, **kwargs):
"""__init__(self, String title=PrintoutTitleStr) -> Printout"""
_windows_.Printout_swiginit(self,_windows_.new_Printout(*args, **kwargs))
- self._setCallbackInfo(self, Printout)
+ Printout._setCallbackInfo(self, self, Printout)
__swig_destroy__ = _windows_.delete_Printout
__del__ = lambda self : None;
__init__(self, Printout printout, Printout printoutForPrinting, PrintData data) -> PyPrintPreview
"""
_windows_.PyPrintPreview_swiginit(self,_windows_.new_PyPrintPreview(*args))
- self._setCallbackInfo(self, PyPrintPreview)
+ PyPrintPreview._setCallbackInfo(self, self, PyPrintPreview)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
long style=DEFAULT_FRAME_STYLE, String name=FrameNameStr) -> PyPreviewFrame
"""
_windows_.PyPreviewFrame_swiginit(self,_windows_.new_PyPreviewFrame(*args, **kwargs))
- self._setCallbackInfo(self, PyPreviewFrame); self._setOORInfo(self)
+ self._setOORInfo(self);PyPreviewFrame._setCallbackInfo(self, self, PyPreviewFrame)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
long style=0, String name=PanelNameStr) -> PyPreviewControlBar
"""
_windows_.PyPreviewControlBar_swiginit(self,_windows_.new_PyPreviewControlBar(*args, **kwargs))
- self._setCallbackInfo(self, PyPreviewControlBar); self._setOORInfo(self)
+ self._setOORInfo(self);PyPreviewControlBar._setCallbackInfo(self, self, PyPreviewControlBar)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""