X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f16ab95d5308a0234629efd0e34087794f142861..3eac0818ff869f347e7fe3f745079624f3669b57:/wxPython/src/gtk/_windows.py diff --git a/wxPython/src/gtk/_windows.py b/wxPython/src/gtk/_windows.py index 823063468a..b16fbe54ae 100644 --- a/wxPython/src/gtk/_windows.py +++ b/wxPython/src/gtk/_windows.py @@ -27,6 +27,8 @@ class Panel(_core.Window): 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) @@ -110,6 +112,8 @@ class ScrolledWindow(Panel): 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) @@ -1777,7 +1781,14 @@ class VScrolledWindow(Panel): return _windows_.VScrolledWindow_ScrollToLine(*args, **kwargs) def ScrollLines(*args, **kwargs): - """ScrollLines(self, int lines) -> bool""" + """ + ScrollLines(self, int lines) -> bool + + If the platform and window class supports it, scrolls the window by + the given number of lines down, if lines is positive, or up if lines + is negative. Returns True if the window was scrolled, False if it was + already on top/bottom and nothing was done. + """ return _windows_.VScrolledWindow_ScrollLines(*args, **kwargs) def ScrollPages(*args, **kwargs): @@ -1799,12 +1810,20 @@ class VScrolledWindow(Panel): """RefreshLines(self, size_t from, size_t to)""" return _windows_.VScrolledWindow_RefreshLines(*args, **kwargs) - def HitTestXT(*args, **kwargs): - """HitTestXT(self, int x, int y) -> int""" - return _windows_.VScrolledWindow_HitTestXT(*args, **kwargs) + def HitTestXY(*args, **kwargs): + """ + HitTestXY(self, int x, int y) -> int + + Test where the given (in client coords) point lies + """ + return _windows_.VScrolledWindow_HitTestXY(*args, **kwargs) def HitTest(*args, **kwargs): - """HitTest(self, Point pt) -> int""" + """ + HitTest(self, Point pt) -> int + + Test where the given (in client coords) point lies + """ return _windows_.VScrolledWindow_HitTest(*args, **kwargs) def RefreshAll(*args, **kwargs):