RB_USE_CHECKBOX = _core_.RB_USE_CHECKBOX
ST_SIZEGRIP = _core_.ST_SIZEGRIP
ST_NO_AUTORESIZE = _core_.ST_NO_AUTORESIZE
+ST_DOTS_MIDDLE = _core_.ST_DOTS_MIDDLE
+ST_DOTS_END = _core_.ST_DOTS_END
FLOOD_SURFACE = _core_.FLOOD_SURFACE
FLOOD_BORDER = _core_.FLOOD_BORDER
ODDEVEN_RULE = _core_.ODDEVEN_RULE
Object_swigregister = _core_.Object_swigregister
Object_swigregister(Object)
_wxPySetDictionary = _core_._wxPySetDictionary
-_wxPyFixStockObjects = _core_._wxPyFixStockObjects
cvar = _core_.cvar
EmptyString = cvar.EmptyString
__del__ = lambda self : None;
def __eq__(*args, **kwargs):
"""
- __eq__(self, Size sz) -> bool
+ __eq__(self, PyObject other) -> bool
Test for equality of wx.Size objects.
"""
def __ne__(*args, **kwargs):
"""
- __ne__(self, Size sz) -> bool
+ __ne__(self, PyObject other) -> bool
- Test for inequality.
+ Test for inequality of wx.Size objects.
"""
return _core_.Size___ne__(*args, **kwargs)
__del__ = lambda self : None;
def __eq__(*args, **kwargs):
"""
- __eq__(self, RealPoint pt) -> bool
+ __eq__(self, PyObject other) -> bool
Test for equality of wx.RealPoint objects.
"""
def __ne__(*args, **kwargs):
"""
- __ne__(self, RealPoint pt) -> bool
+ __ne__(self, PyObject other) -> bool
Test for inequality of wx.RealPoint objects.
"""
__del__ = lambda self : None;
def __eq__(*args, **kwargs):
"""
- __eq__(self, Point pt) -> bool
+ __eq__(self, PyObject other) -> bool
Test for equality of wx.Point objects.
"""
def __ne__(*args, **kwargs):
"""
- __ne__(self, Point pt) -> bool
+ __ne__(self, PyObject other) -> bool
Test for inequality of wx.Point objects.
"""
def __eq__(*args, **kwargs):
"""
- __eq__(self, Rect rect) -> bool
+ __eq__(self, PyObject other) -> bool
- Test for equality.
+ Test for equality of wx.Rect objects.
"""
return _core_.Rect___eq__(*args, **kwargs)
def __ne__(*args, **kwargs):
"""
- __ne__(self, Rect rect) -> bool
+ __ne__(self, PyObject other) -> bool
- Test for inequality.
+ Test for inequality of wx.Rect objects.
"""
return _core_.Rect___ne__(*args, **kwargs)
def __eq__(*args, **kwargs):
"""
- __eq__(self, Point2D pt) -> bool
+ __eq__(self, PyObject other) -> bool
- Test for equality
+ Test for equality of wx.Point2D objects.
"""
return _core_.Point2D___eq__(*args, **kwargs)
def __ne__(*args, **kwargs):
"""
- __ne__(self, Point2D pt) -> bool
+ __ne__(self, PyObject other) -> bool
- Test for inequality
+ Test for inequality of wx.Point2D objects.
"""
return _core_.Point2D___ne__(*args, **kwargs)
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
+ __swig_destroy__ = _core_.delete_CPPFileSystemHandler
+ __del__ = lambda self : None;
CPPFileSystemHandler_swigregister = _core_.CPPFileSystemHandler_swigregister
CPPFileSystemHandler_swigregister(CPPFileSystemHandler)
"""
GetPosition(self) -> Point
- Get the window's position.
+ Get the window's position. Notice that the position is in client
+ coordinates for child windows and screen coordinates for the top level
+ ones, use `GetScreenPosition` if you need screen coordinates for all
+ kinds of windows.
"""
return _core_.Window_GetPosition(*args, **kwargs)
"""
GetPositionTuple() -> (x,y)
- Get the window's position.
+ Get the window's position. Notice that the position is in client
+ coordinates for child windows and screen coordinates for the top level
+ ones, use `GetScreenPosition` if you need screen coordinates for all
+ kinds of windows.
"""
return _core_.Window_GetPositionTuple(*args, **kwargs)
+ def GetScreenPosition(*args, **kwargs):
+ """
+ GetScreenPosition(self) -> Point
+
+ Get the position of the window in screen coordinantes.
+ """
+ return _core_.Window_GetScreenPosition(*args, **kwargs)
+
+ def GetScreenPositionTuple(*args, **kwargs):
+ """
+ GetScreenPositionTuple() -> (x,y)
+
+ Get the position of the window in screen coordinantes.
+ """
+ return _core_.Window_GetScreenPositionTuple(*args, **kwargs)
+
+ def GetScreenRect(*args, **kwargs):
+ """
+ GetScreenRect(self) -> Rect
+
+ Returns the size and position of the window in screen coordinantes as
+ a `wx.Rect` object.
+ """
+ return _core_.Window_GetScreenRect(*args, **kwargs)
+
def GetSize(*args, **kwargs):
"""
GetSize(self) -> Size
"""
GetRect(self) -> Rect
- Returns the size and position of the window as a wx.Rect object.
+ Returns the size and position of the window as a `wx.Rect` object.
"""
return _core_.Window_GetRect(*args, **kwargs)
Sets the help text to be used as context-sensitive help for this
window. Note that the text is actually stored by the current
- wxHelpProvider implementation, and not in the window object itself.
+ `wx.HelpProvider` implementation, and not in the window object itself.
"""
return _core_.Window_SetHelpText(*args, **kwargs)
Gets the help text to be used as context-sensitive help for this
window. Note that the text is actually stored by the current
- wxHelpProvider implementation, and not in the window object itself.
+ `wx.HelpProvider` implementation, and not in the window object itself.
"""
return _core_.Window_GetHelpText(*args, **kwargs)
"""AppendMenu(self, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem"""
return _core_.Menu_AppendMenu(*args, **kwargs)
+ def AppendSubMenu(*args, **kwargs):
+ """AppendSubMenu(self, Menu submenu, String text, String help=EmptyString) -> MenuItem"""
+ return _core_.Menu_AppendSubMenu(*args, **kwargs)
+
def AppendItem(*args, **kwargs):
"""AppendItem(self, MenuItem item) -> MenuItem"""
return _core_.Menu_AppendItem(*args, **kwargs)
def Insert(*args, **kwargs):
"""
- Insert(self, String item, int pos, PyObject clientData=None) -> int
+ Insert(self, String item, unsigned int pos, PyObject clientData=None) -> int
Insert an item into the control before the item at the ``pos`` index,
optionally associating some data object with the item.
def Delete(*args, **kwargs):
"""
- Delete(self, int n)
+ Delete(self, unsigned int n)
Deletes the item at the zero-based index 'n' from the control. Note
that it is an error (signalled by a `wx.PyAssertionError` exception if
def GetClientData(*args, **kwargs):
"""
- GetClientData(self, int n) -> PyObject
+ GetClientData(self, unsigned int n) -> PyObject
Returns the client data associated with the given item, (if any.)
"""
def SetClientData(*args, **kwargs):
"""
- SetClientData(self, int n, PyObject clientData)
+ SetClientData(self, unsigned int n, PyObject clientData)
Associate the given client data with the item at position n.
"""
def GetCount(*args, **kwargs):
"""
- GetCount(self) -> int
+ GetCount(self) -> unsigned int
Returns the number of items in the control.
"""
def GetString(*args, **kwargs):
"""
- GetString(self, int n) -> String
+ GetString(self, unsigned int n) -> String
Returns the label of the item with the given index.
"""
def SetString(*args, **kwargs):
"""
- SetString(self, int n, String s)
+ SetString(self, unsigned int n, String s)
Sets the label for the given item.
"""
return _core_.GBPosition_SetCol(*args, **kwargs)
def __eq__(*args, **kwargs):
- """__eq__(self, GBPosition other) -> bool"""
+ """
+ __eq__(self, PyObject other) -> bool
+
+ Compare GBPosition for equality.
+ """
return _core_.GBPosition___eq__(*args, **kwargs)
def __ne__(*args, **kwargs):
- """__ne__(self, GBPosition other) -> bool"""
+ """
+ __ne__(self, PyObject other) -> bool
+
+ Compare GBPosition for inequality.
+ """
return _core_.GBPosition___ne__(*args, **kwargs)
def Set(*args, **kwargs):
return _core_.GBSpan_SetColspan(*args, **kwargs)
def __eq__(*args, **kwargs):
- """__eq__(self, GBSpan other) -> bool"""
+ """
+ __eq__(self, PyObject other) -> bool
+
+ Compare wxGBSpan for equality.
+ """
return _core_.GBSpan___eq__(*args, **kwargs)
def __ne__(*args, **kwargs):
- """__ne__(self, GBSpan other) -> bool"""
+ """
+ __ne__(self, PyObject other) -> bool
+
+ Compare GBSpan for inequality.
+ """
return _core_.GBSpan___ne__(*args, **kwargs)
def Set(*args, **kwargs):
from _controls import *
from _misc import *
-
-# Fixup the stock objects since they can't be used yet. (They will be
-# restored in wx.PyApp.OnInit.)
-_core_._wxPyFixStockObjects()
-
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------