flaw-ui-0.1.0.0

LicenseMIT
Safe HaskellNone
LanguageHaskell2010

Flaw.UI.ScrollBox

Description

 
Synopsis

Documentation

data ScrollBox Source #

Constructors

ScrollBox 

Fields

processScrollBarEvent :: ScrollBar -> InputEvent -> InputState -> STM Bool Source #

Process possibly scroll bar event. Could be used for passing scrolling events from other elements.

ensureVisibleScrollBoxArea :: ScrollBox -> Rect -> STM () Source #

Adjust scrolling so the specified area (in content coords) is visible.