fltkhs-0.8.0.3: FLTK bindings
Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.Base.Scrolled

Synopsis

Constructor

scrolledCustom Source #

Arguments

:: Rectangle

The bounds of this Scrolled

-> Maybe Text

The Scrolled label

-> Maybe (Ref Scrolled -> IO ())

Optional custom drawing function

-> Maybe (CustomWidgetFuncs Scrolled)

Optional custom widget functions

-> IO (Ref Scrolled) 

Hierarchy

Functions

clear :: Ref ScrolledBase -> IO ()

draw :: Ref ScrolledBase -> IO ()

getScrollbarSize :: Ref ScrolledBase -> IO (Int)

getType_ :: Ref ScrolledBase -> IO (ScrollbarMode)

handle :: Ref ScrolledBase -> Event -> IO (Either UnknownEvent ())

hide :: Ref ScrolledBase -> IO ()

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

scrollTo :: Ref ScrolledBase -> Position -> IO ()

setScrollbarSize :: Ref ScrolledBase -> Int -> IO ()

setType :: Ref ScrolledBase -> ScrollbarMode -> IO ()

showWidget :: Ref ScrolledBase -> IO ()

xposition :: Ref ScrolledBase -> IO (Int)

yposition :: Ref ScrolledBase -> IO (Int)

Orphan instances

impl ~ IO Int => Op (Yposition ()) ScrolledBase orig impl Source # 
Instance details

Methods

runOp :: Yposition () -> orig -> Ref ScrolledBase -> impl Source #

impl ~ IO Int => Op (Xposition ()) ScrolledBase orig impl Source # 
Instance details

Methods

runOp :: Xposition () -> orig -> Ref ScrolledBase -> impl Source #

impl ~ (Position -> IO ()) => Op (ScrollTo ()) ScrolledBase orig impl Source # 
Instance details

Methods

runOp :: ScrollTo () -> orig -> Ref ScrolledBase -> impl Source #

impl ~ (Int -> IO ()) => Op (SetScrollbarSize ()) ScrolledBase orig impl Source # 
Instance details

Methods

runOp :: SetScrollbarSize () -> orig -> Ref ScrolledBase -> impl Source #

impl ~ IO Int => Op (GetScrollbarSize ()) ScrolledBase orig impl Source # 
Instance details

Methods

runOp :: GetScrollbarSize () -> orig -> Ref ScrolledBase -> impl Source #

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

Methods

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

impl ~ IO () => Op (Clear ()) ScrolledBase orig impl Source # 
Instance details

Methods

runOp :: Clear () -> orig -> Ref ScrolledBase -> impl Source #

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

Methods

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

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

Methods

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

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

Methods

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

impl ~ (ScrollbarMode -> IO ()) => Op (SetType ()) ScrolledBase orig impl Source # 
Instance details

Methods

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

impl ~ IO ScrollbarMode => Op (GetType_ ()) ScrolledBase orig impl Source # 
Instance details

Methods

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

impl ~ (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) ScrolledBase orig impl Source # 
Instance details

Methods

runOp :: Handle () -> orig -> Ref ScrolledBase -> impl Source #