## MQWidget.ScrollBar class

A scroll bar class.

Super classes: MQWidget.WidgetBase

### Property

get | set | Type | Name | Description
--- | --- | --- | --- | ---
x | x | int | position | a current value
x | x | int | min | a minimum value
x | x | int | max | a maximum value
x | x | int | page | a page width
x | x | int | increment | an inremental value for up/down button

### Method

Member | Description
--- | ---
ScrollBar | Constructor.
addChangedEvent | Add an event after finishing to change a value.
addChangingEvent | Add an event while changing a value.

ScrollBar([parent])
Constructor.
  Parameters:
  MQWidget.WidgetBase | parent | - | A parent widget

addChangedEvent(callback)
Add an event after finishing to change a value.
  Parameters:
  function(sender) | callback | - | callback function

addChangingEvent(callback)
Add an event while changing a value.
  Parameters:
  function(sender) | callback | - | callback function