PyGUI - class ScrollFrame

# class `ScrollFrame(Frame)`

A ScrollFrame is a component which contains another component (the client) and allows it to be scrolled horizontally and/or vertically.

The client must be a component which supports scrolling. All subclasses of View support scrolling, but most other component classes do not. Exceptions are noted in the documentation for the class concerned.

### Constructor

> `ScrollFrame(client, scrolling = 'hv')`
>   Constructs a ScrollFrame containing the given client. The `scrolling` parameter is a string made up of the letters '`h`' and '`v`' for horizontal and vertical scrolling, respectively. The initial size of the ScrollFrame is equal to the size of the client plus enough room for the specified scroll bars.

### Properties

`client`
  The client of the ScrollFrame, i.e. the component which is being scrolled.

### Destructor

`destroy()`
  Destroys the ScrollFrame and its client, if any, removing them from the screen.