Scrolled window derived from wx.Panel.
See wx.Scrolled for a detailed description.
Note
Note that because this class derives from wx.Panel, it shares its behaviour with regard to TAB
traversal and focus handling (in particular, it forwards focus to its children). If you don’t want this behaviour, use wx.ScrolledCanvas instead.
Note
wx.ScrolledWindow is an alias for ScrolledPanel since version 2.9.0. In older versions, it was a standalone class.
See also
wx.Scrolled, wx.ScrolledCanvas
In contrast to SetFocus() this will set the focus to the panel even if |
wx.
ScrolledWindow
(_ScrolledWindowBase)¶Possible constructors:
ScrolledWindow() -> None
ScrolledWindow(parent : Window, id: int=ID_ANY, pos:
Point=DefaultPosition, size: Size=DefaultSize, style:
int=ScrolledWindowStyle, name: str=PanelNameStr) -> None
Scrolled window derived from Panel.
__init__
(self, *args, **kw)¶__init__ (self)
None
__init__ (self, parent : Window, id: int=ID_ANY, pos: Point=DefaultPosition, size: Size=DefaultSize, style: int=ScrolledWindowStyle, name: str=PanelNameStr)
parent (wx.Window) –
id (wx.WindowID) –
pos (Point
) –
size (Size
) –
style (long) –
name (String
) –
None
GetClassDefaultAttributes
(variant: WindowVariant=WINDOW_VARIANT_NORMAL)¶variant (WindowVariant) –
SetFocusIgnoringChildren
(self)¶In contrast to SetFocus() this will set the focus to the panel even if there are child windows in the panel. This is only rarely needed.
None