Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- tabsNew :: (?assets :: Assets) => Rectangle -> Maybe Text -> IO (Ref Tabs)
- data TabSpec = TabSpec {}
- drawTabs :: TabSpec -> Ref Tabs -> IO ()
- lightTabClientAreaCustom :: TabSpec -> Ref Tabs -> TabsHeightOffset -> IO Rectangle
- lightTabHandleCustom :: TabSpec -> Ref Tabs -> Event -> IO (Either UnknownEvent ())
- lightTabHeightCustom :: TabSpec -> Ref Tabs -> IO Height
- lightTabPositionsCustom :: TabSpec -> Ref Tabs -> IO (Maybe AtIndex, Int, [(X, Width)])
- lightTabRedrawTabs :: TabSpec -> Ref Tabs -> IO ()
- lightTabWhichCustom :: TabSpec -> Ref Tabs -> Position -> IO (Maybe (AtIndex, Ref Widget))
Documentation
Tab Helpers and Handlers
Visual properties of tabs
TabSpec | |
|
lightTabClientAreaCustom :: TabSpec -> Ref Tabs -> TabsHeightOffset -> IO Rectangle Source #
Calculate the bounds of the area inside the tab containing other widgets
lightTabHandleCustom :: TabSpec -> Ref Tabs -> Event -> IO (Either UnknownEvent ()) Source #
Handles all events to the tab
lightTabHeightCustom :: TabSpec -> Ref Tabs -> IO Height Source #
Calculate the height of each tab, a negative height indicates tabs are along the bottom
lightTabPositionsCustom :: TabSpec -> Ref Tabs -> IO (Maybe AtIndex, Int, [(X, Width)]) Source #
Calculate the width and x coordinate of each tab