Package wx :: Class VScrolledWindow
[frames | no frames]

Type VScrolledWindow

object --+                
         |                
    Object --+            
             |            
    EvtHandler --+        
                 |        
            Window --+    
                     |    
                 Panel --+
                         |
                        VScrolledWindow

Known Subclasses:
VListBox

Proxy of C++ VScrolledWindow class
Method Summary
Window __init__(self, parent, id, pos, size, style, name)
Construct and show a generic Window.
  __repr__(self)
bool Create(self, parent, id, pos, size, style, name)
Create the GUI part of the Window for 2-phase creation mode.
size_t GetFirstVisibleLine(self)
size_t GetLastVisibleLine(self)
size_t GetLineCount(self)
size_t GetVisibleBegin(self)
size_t GetVisibleEnd(self)
int HitTest(self, pt)
Test where the given (in client coords) point lies
int HitTestXY(self, x, y)
Test where the given (in client coords) point lies
bool IsVisible(self, line)
  RefreshAll(self)
  RefreshLine(self, line)
  RefreshLines(self, from, to)
bool ScrollLines(self, lines)
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.
bool ScrollPages(self, pages)
If the platform and window class supports it, scrolls the window by the given number of pages down, if pages is positive, or up if pages is negative.
bool ScrollToLine(self, line)
  SetLineCount(self, count)

Instance Method Details

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

Construct and show a generic Window.
Parameters:
parent
           (type=Window)
id
           (type=int)
pos
           (type=Point)
size
           (type=Size)
style
           (type=long)
name
           (type=String)
Returns:
Window
Overrides:
wx.Panel.__init__ (inherited documentation)

Create(self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=0, name=PanelNameStr)

Create the GUI part of the Window for 2-phase creation mode.
Parameters:
parent
           (type=Window)
id
           (type=int)
pos
           (type=Point)
size
           (type=Size)
style
           (type=long)
name
           (type=String)
Returns:
bool
Overrides:
wx.Panel.Create (inherited documentation)

HitTest(self, pt)

Test where the given (in client coords) point lies
Parameters:
pt
           (type=Point)
Returns:
int
Overrides:
wx.Window.HitTest

HitTestXY(self, x, y)

Test where the given (in client coords) point lies
Parameters:
x
           (type=int)
y
           (type=int)
Returns:
int
Overrides:
wx.Window.HitTestXY

ScrollLines(self, lines)

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.
Parameters:
lines
           (type=int)
Returns:
bool
Overrides:
wx.Window.ScrollLines

ScrollPages(self, pages)

If the platform and window class supports it, scrolls the window by the given number of pages down, if pages is positive, or up if pages is negative. Returns True if the window was scrolled, False if it was already on top/bottom and nothing was done.
Parameters:
pages
           (type=int)
Returns:
bool
Overrides:
wx.Window.ScrollPages

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:23:03 2005 http://epydoc.sf.net