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)
return _windows_.ScrolledWindow_SetScrollRate(*args, **kwargs)
def GetScrollPixelsPerUnit(*args, **kwargs):
- """GetScrollPixelsPerUnit() -> (xUnit, yUnit)"""
+ """
+ GetScrollPixelsPerUnit() -> (xUnit, yUnit)
+
+ Get the size of one logical unit in physical units.
+ """
return _windows_.ScrolledWindow_GetScrollPixelsPerUnit(*args, **kwargs)
def EnableScrolling(*args, **kwargs):
return _windows_.ScrolledWindow_EnableScrolling(*args, **kwargs)
def GetViewStart(*args, **kwargs):
- """GetViewStart() -> (x,y)"""
+ """
+ GetViewStart() -> (x,y)
+
+ Get the view start
+ """
return _windows_.ScrolledWindow_GetViewStart(*args, **kwargs)
def SetScale(*args, **kwargs):
"""GetTargetRect(self) -> Rect"""
return _windows_.ScrolledWindow_GetTargetRect(*args, **kwargs)
+ def DoPrepareDC(*args, **kwargs):
+ """
+ DoPrepareDC(self, DC dc)
+
+ Normally what is called by `PrepareDC`.
+ """
+ return _windows_.ScrolledWindow_DoPrepareDC(*args, **kwargs)
+
def GetClassDefaultAttributes(*args, **kwargs):
"""
GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
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 MacSetMetalAppearance(*args, **kwargs):
"""MacSetMetalAppearance(self, bool on)"""
return _windows_.TopLevelWindow_MacSetMetalAppearance(*args, **kwargs)
return _windows_.Dialog_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ def SendSizeEvent(self):
+ self.ProcessEvent(wx.SizeEvent((-1,-1)))
+
class DialogPtr(Dialog):
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):
"""
self._setOORInfo(self)
def SetSelections(*args, **kwargs):
- """SetSelections(List selections)"""
+ """
+ SetSelections(List selections)
+
+ Specify the items in the list that should be selected, using a list of
+ integers.
+ """
return _windows_.MultiChoiceDialog_SetSelections(*args, **kwargs)
def GetSelections(*args, **kwargs):