phoenix_title wx.ScrolledWindow

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


class_hierarchy Class Hierarchy

Inheritance diagram for class ScrolledWindow:

method_summary Methods Summary

__init__

GetClassDefaultAttributes

SetFocusIgnoringChildren

In contrast to SetFocus() this will set the focus to the panel even if


api Class API

class wx.ScrolledWindow(_ScrolledWindowBase)

Possible constructors:

ScrolledWindow()

ScrolledWindow(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize,
               style=ScrolledWindowStyle, name=PanelNameStr)

Scrolled window derived from Panel.


Methods

__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)



__init__ (self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=ScrolledWindowStyle, name=PanelNameStr)

Parameters:
  • parent (wx.Window) –

  • id (wx.WindowID) –

  • pos (Point) –

  • size (Size) –

  • style (long) –

  • name (String) –





static GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)
Parameters:

variant (WindowVariant) –

Return type:

wx.VisualAttributes



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.