X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75219dcb6834ba05c6ad233bce5c0a26a90eac60..11dbb4bfab8f7441e87b34cd094ac6e69438b50a:/wxPython/src/gtk/_core.py diff --git a/wxPython/src/gtk/_core.py b/wxPython/src/gtk/_core.py index 2020f24639..c062a1c351 100644 --- a/wxPython/src/gtk/_core.py +++ b/wxPython/src/gtk/_core.py @@ -133,6 +133,8 @@ SB_VERTICAL = _core_.SB_VERTICAL 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 @@ -722,7 +724,6 @@ class Object(object): Object_swigregister = _core_.Object_swigregister Object_swigregister(Object) _wxPySetDictionary = _core_._wxPySetDictionary -_wxPyFixStockObjects = _core_._wxPyFixStockObjects cvar = _core_.cvar EmptyString = cvar.EmptyString @@ -804,7 +805,7 @@ class Size(object): __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. """ @@ -812,9 +813,9 @@ class Size(object): 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) @@ -940,7 +941,7 @@ class RealPoint(object): __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. """ @@ -948,7 +949,7 @@ class RealPoint(object): def __ne__(*args, **kwargs): """ - __ne__(self, RealPoint pt) -> bool + __ne__(self, PyObject other) -> bool Test for inequality of wx.RealPoint objects. """ @@ -1025,7 +1026,7 @@ class Point(object): __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. """ @@ -1033,7 +1034,7 @@ class Point(object): def __ne__(*args, **kwargs): """ - __ne__(self, Point pt) -> bool + __ne__(self, PyObject other) -> bool Test for inequality of wx.Point objects. """ @@ -1316,17 +1317,17 @@ class Rect(object): 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) @@ -1533,17 +1534,17 @@ class Point2D(object): 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) @@ -1738,6 +1739,8 @@ class CPPFileSystemHandler(object): 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) @@ -9337,7 +9340,7 @@ class Window(EvtHandler): 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) @@ -9356,7 +9359,7 @@ class Window(EvtHandler): 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) @@ -9829,6 +9832,10 @@ class Menu(EvtHandler): """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) @@ -10518,7 +10525,7 @@ class ItemContainer(object): 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. @@ -10535,7 +10542,7 @@ class ItemContainer(object): 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 @@ -10546,7 +10553,7 @@ class ItemContainer(object): 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.) """ @@ -10554,7 +10561,7 @@ class ItemContainer(object): 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. """ @@ -10562,7 +10569,7 @@ class ItemContainer(object): def GetCount(*args, **kwargs): """ - GetCount(self) -> size_t + GetCount(self) -> unsigned int Returns the number of items in the control. """ @@ -10578,7 +10585,7 @@ class ItemContainer(object): 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. """ @@ -10590,7 +10597,7 @@ class ItemContainer(object): def SetString(*args, **kwargs): """ - SetString(self, int n, String s) + SetString(self, unsigned int n, String s) Sets the label for the given item. """ @@ -11935,11 +11942,19 @@ class GBPosition(object): 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): @@ -12008,11 +12023,19 @@ class GBSpan(object): 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): @@ -12902,11 +12925,6 @@ from _windows import * 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() - #---------------------------------------------------------------------------- #----------------------------------------------------------------------------