Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
String name=PanelNameStr) -> bool
+
+ Create the GUI part of the Window for 2-phase creation mode.
"""
return _windows_.Panel_Create(*args, **kwargs)
Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
Size size=DefaultSize, long style=wxHSCROLL|wxVSCROLL,
String name=PanelNameStr) -> bool
+
+ Create the GUI part of the Window for 2-phase creation mode.
"""
return _windows_.ScrolledWindow_Create(*args, **kwargs)
FRAME_NO_WINDOW_MENU = _windows_.FRAME_NO_WINDOW_MENU
FRAME_NO_TASKBAR = _windows_.FRAME_NO_TASKBAR
FRAME_SHAPED = _windows_.FRAME_SHAPED
+FRAME_DRAWER = _windows_.FRAME_DRAWER
DIALOG_MODAL = _windows_.DIALOG_MODAL
DIALOG_MODELESS = _windows_.DIALOG_MODELESS
USER_COLOURS = _windows_.USER_COLOURS
FULLSCREEN_NOCAPTION = _windows_.FULLSCREEN_NOCAPTION
FULLSCREEN_ALL = _windows_.FULLSCREEN_ALL
TOPLEVEL_EX_DIALOG = _windows_.TOPLEVEL_EX_DIALOG
+USER_ATTENTION_INFO = _windows_.USER_ATTENTION_INFO
+USER_ATTENTION_ERROR = _windows_.USER_ATTENTION_ERROR
class TopLevelWindow(_core.Window):
def __init__(self): raise RuntimeError, "No constructor defined"
def __repr__(self):
"""SetShape(self, Region region) -> bool"""
return _windows_.TopLevelWindow_SetShape(*args, **kwargs)
+ def RequestUserAttention(*args, **kwargs):
+ """RequestUserAttention(self, int flags=USER_ATTENTION_INFO)"""
+ return _windows_.TopLevelWindow_RequestUserAttention(*args, **kwargs)
+
+ def IsActive(*args, **kwargs):
+ """IsActive(self) -> bool"""
+ return _windows_.TopLevelWindow_IsActive(*args, **kwargs)
+
class TopLevelWindowPtr(TopLevelWindow):
def __init__(self, this):
#---------------------------------------------------------------------------
+SB_NORMAL = _windows_.SB_NORMAL
+SB_FLAT = _windows_.SB_FLAT
+SB_RAISED = _windows_.SB_RAISED
class StatusBar(_core.Window):
def __repr__(self):
return "<%s.%s; proxy of C++ wxStatusBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
"""SetStatusWidths(self, int widths, int widths_field)"""
return _windows_.StatusBar_SetStatusWidths(*args, **kwargs)
+ def SetStatusStyles(*args, **kwargs):
+ """SetStatusStyles(self, int styles, int styles_field)"""
+ return _windows_.StatusBar_SetStatusStyles(*args, **kwargs)
+
def GetFieldRect(*args, **kwargs):
"""GetFieldRect(self, int i) -> Rect"""
return _windows_.StatusBar_GetFieldRect(*args, **kwargs)
"""RefreshLines(self, size_t from, size_t to)"""
return _windows_.VScrolledWindow_RefreshLines(*args, **kwargs)
- def HitTestXT(*args, **kwargs):
+ def HitTestXY(*args, **kwargs):
"""
- HitTestXT(self, int x, int y) -> int
+ HitTestXY(self, int x, int y) -> int
Test where the given (in client coords) point lies
"""
- return _windows_.VScrolledWindow_HitTestXT(*args, **kwargs)
+ return _windows_.VScrolledWindow_HitTestXY(*args, **kwargs)
def HitTest(*args, **kwargs):
"""
class TaskBarIcon(_core.EvtHandler):
def __repr__(self):
- return "<%s.%s; proxy of C++ wxTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ return "<%s.%s; proxy of C++ wxPyTaskBarIcon instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
"""__init__(self) -> TaskBarIcon"""
newobj = _windows_.new_TaskBarIcon(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
del newobj.thisown
- def __del__(self, destroy=_windows_.delete_TaskBarIcon):
- """__del__(self)"""
- try:
- if self.thisown: destroy(self)
- except: pass
+ self._setCallbackInfo(self, TaskBarIcon, 0)
+
+ def _setCallbackInfo(*args, **kwargs):
+ """_setCallbackInfo(self, PyObject self, PyObject _class, int incref)"""
+ return _windows_.TaskBarIcon__setCallbackInfo(*args, **kwargs)
def Destroy(*args, **kwargs):
"""
def __repr__(self):
return "<%s.%s; proxy of C++ wxTaskBarIconEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
def __init__(self, *args, **kwargs):
- """__init__(self, wxEventType evtType, TaskBarIcon tbIcon) -> TaskBarIconEvent"""
+ """__init__(self, wxEventType evtType, wxTaskBarIcon tbIcon) -> TaskBarIconEvent"""
newobj = _windows_.new_TaskBarIconEvent(*args, **kwargs)
self.this = newobj.this
self.thisown = 1
PRINT_MODE_FILE = _windows_.PRINT_MODE_FILE
PRINT_MODE_PRINTER = _windows_.PRINT_MODE_PRINTER
PRINT_MODE_STREAM = _windows_.PRINT_MODE_STREAM
+PRINTBIN_DEFAULT = _windows_.PRINTBIN_DEFAULT
+PRINTBIN_ONLYONE = _windows_.PRINTBIN_ONLYONE
+PRINTBIN_LOWER = _windows_.PRINTBIN_LOWER
+PRINTBIN_MIDDLE = _windows_.PRINTBIN_MIDDLE
+PRINTBIN_MANUAL = _windows_.PRINTBIN_MANUAL
+PRINTBIN_ENVELOPE = _windows_.PRINTBIN_ENVELOPE
+PRINTBIN_ENVMANUAL = _windows_.PRINTBIN_ENVMANUAL
+PRINTBIN_AUTO = _windows_.PRINTBIN_AUTO
+PRINTBIN_TRACTOR = _windows_.PRINTBIN_TRACTOR
+PRINTBIN_SMALLFMT = _windows_.PRINTBIN_SMALLFMT
+PRINTBIN_LARGEFMT = _windows_.PRINTBIN_LARGEFMT
+PRINTBIN_LARGECAPACITY = _windows_.PRINTBIN_LARGECAPACITY
+PRINTBIN_CASSETTE = _windows_.PRINTBIN_CASSETTE
+PRINTBIN_FORMSOURCE = _windows_.PRINTBIN_FORMSOURCE
+PRINTBIN_USER = _windows_.PRINTBIN_USER
class PrintData(_core.Object):
def __repr__(self):
return "<%s.%s; proxy of C++ wxPrintData instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
"""GetQuality(self) -> int"""
return _windows_.PrintData_GetQuality(*args, **kwargs)
+ def GetBin(*args, **kwargs):
+ """GetBin(self) -> int"""
+ return _windows_.PrintData_GetBin(*args, **kwargs)
+
def SetNoCopies(*args, **kwargs):
"""SetNoCopies(self, int v)"""
return _windows_.PrintData_SetNoCopies(*args, **kwargs)
"""SetQuality(self, int quality)"""
return _windows_.PrintData_SetQuality(*args, **kwargs)
+ def SetBin(*args, **kwargs):
+ """SetBin(self, int bin)"""
+ return _windows_.PrintData_SetBin(*args, **kwargs)
+
def GetPrinterCommand(*args, **kwargs):
"""GetPrinterCommand(self) -> String"""
return _windows_.PrintData_GetPrinterCommand(*args, **kwargs)