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)
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.
"""