Safe HaskellNone




header :: (?assets :: Assets) => Color -> Rectangle -> Text -> Alignments -> IO (Ref Box) Source #

This widget was intended for use as a app header bar, similar to the one provided by GTK3 but really it's just a Graphics.UI.FLTK.LowLevel.Box labeled with Text and with a background vertically graded with the Color provided. You can use it for anything you like. For a more "turn-key" app header that works nicely with the Light theme you probably want darkHeader.

darkHeader :: (?assets :: Assets) => Rectangle -> Text -> Alignments -> IO (Ref Box) Source #

Same as header except it doesn't take a Color and uses the commonDarkGreyColor and the a large josefinSlabSemiBold font for the label.