X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc3b23ad778b95a377066ed7c914a373dd818c0..8623a8838d8c4a7fd531e1eb3940e3ddf7306584:/wxPython/src/gtk/_core.py diff --git a/wxPython/src/gtk/_core.py b/wxPython/src/gtk/_core.py index e7181d1f6b..09abfe6f0c 100644 --- a/wxPython/src/gtk/_core.py +++ b/wxPython/src/gtk/_core.py @@ -7678,8 +7678,8 @@ class Window(EvtHandler): ShouldInheritColours to return false, the colours will not be changed no matter what and only the font might. - This rather complicated logic is necessary in order to accomodate the - different usage scenarius. The most common one is when all default + This rather complicated logic is necessary in order to accommodate the + different usage scenarios. The most common one is when all default attributes are used and in this case, nothing should be inherited as in modern GUIs different controls use different fonts (and colours) than their siblings so they can't inherit the same value from the @@ -9444,13 +9444,13 @@ class Sizer(Object): """ A convenience method for Show(item, False, recursive). """ - return self.Show(item, false, recursive) + return self.Show(item, False, recursive) def ShowItems(*args, **kwargs): """ ShowItems(self, bool show) - Recursively call `wx.Window.Show` on all sizer items. + Recursively call `wx.SizerItem.Show` on all sizer items. """ return _core_.Sizer_ShowItems(*args, **kwargs) @@ -10262,6 +10262,15 @@ class GridBagSizer(FlexGridSizer): """ return _core_.GridBagSizer_AddItem(*args, **kwargs) + def GetCellSize(*args, **kwargs): + """ + GetCellSize(self, int row, int col) -> Size + + Get the size of the specified cell, including hgap and + vgap. Only valid after a Layout. + """ + return _core_.GridBagSizer_GetCellSize(*args, **kwargs) + def GetEmptyCellSize(*args, **kwargs): """ GetEmptyCellSize(self) -> Size