fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.Scrollbar

Synopsis

Constructor

scrollbarCustom Source #

Arguments

:: Rectangle

The bounds of this Scrollbar

-> Maybe Text

The Scrollbar label

-> Maybe (Ref Scrollbar -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Scrollbar)

Optional custom widget functions

-> IO (Ref Scrollbar) 

Hierarchy

Functions

destroy :: Ref ScrollbarBase -> IO ()

draw :: Ref ScrollbarBase -> IO ()

getLinesize :: Ref ScrollbarBase -> IO LineSize

getType_ :: Ref ScrollbarBase -> IO (ScrollbarType)

hide :: Ref ScrollbarBase -> IO ()

resize :: Ref ScrollbarBase -> Rectangle -> IO ()

scrollvalue :: Ref ScrollbarBase -> Y -> Lines -> LineNumber -> Lines -> IO (Int)

setLinesize :: Ref ScrollbarBase -> LineSize -> IO ()

setType :: Ref ScrollbarBase -> ScrollbarType -> IO ()

showWidget :: Ref ScrollbarBase -> IO ()

Orphan instances

impl ~ IO LineSize => Op (GetLinesize ()) ScrollbarBase orig impl Source # 
Instance details

Methods

runOp :: GetLinesize () -> orig -> Ref ScrollbarBase -> impl Source #

impl ~ (LineSize -> IO ()) => Op (SetLinesize ()) ScrollbarBase orig impl Source # 
Instance details

Methods

runOp :: SetLinesize () -> orig -> Ref ScrollbarBase -> impl Source #

impl ~ IO () => Op (Draw ()) ScrollbarBase orig impl Source # 
Instance details

Methods

runOp :: Draw () -> orig -> Ref ScrollbarBase -> impl Source #

impl ~ (Y -> Lines -> LineNumber -> Lines -> IO Int) => Op (Scrollvalue ()) ScrollbarBase orig impl Source # 
Instance details

Methods

runOp :: Scrollvalue () -> orig -> Ref ScrollbarBase -> impl Source #

impl ~ (Rectangle -> IO ()) => Op (Resize ()) ScrollbarBase orig impl Source # 
Instance details

Methods

runOp :: Resize () -> orig -> Ref ScrollbarBase -> impl Source #

impl ~ IO () => Op (Hide ()) ScrollbarBase orig impl Source # 
Instance details

Methods

runOp :: Hide () -> orig -> Ref ScrollbarBase -> impl Source #

impl ~ IO () => Op (ShowWidget ()) ScrollbarBase orig impl Source # 
Instance details

Methods

runOp :: ShowWidget () -> orig -> Ref ScrollbarBase -> impl Source #

impl ~ (ScrollbarType -> IO ()) => Op (SetType ()) ScrollbarBase orig impl Source # 
Instance details

Methods

runOp :: SetType () -> orig -> Ref ScrollbarBase -> impl Source #

impl ~ IO ScrollbarType => Op (GetType_ ()) ScrollbarBase orig impl Source # 
Instance details

Methods

runOp :: GetType_ () -> orig -> Ref ScrollbarBase -> impl Source #

impl ~ IO () => Op (Destroy ()) ScrollbarBase orig impl Source # 
Instance details

Methods

runOp :: Destroy () -> orig -> Ref ScrollbarBase -> impl Source #