| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.UI.FLTK.LowLevel.FileBrowser
- fileBrowserNew :: Rectangle -> Maybe Text -> IO (Ref FileBrowser)
- fileBrowserCustom :: Rectangle -> Maybe Text -> Maybe (Ref FileBrowser -> IO ()) -> Maybe (CustomWidgetFuncs FileBrowser) -> IO (Ref FileBrowser)
- data FileBrowserType
- type FileSortF = FunPtr (Ptr (Ptr ()) -> Ptr (Ptr ()) -> IO CInt)
- numericSort :: IO FileSortF
- alphaSort :: IO FileSortF
- caseAlphaSort :: IO FileSortF
- caseNumericSort :: IO FileSortF
Constructor
fileBrowserNew :: Rectangle -> Maybe Text -> IO (Ref FileBrowser) Source #
Arguments
| :: Rectangle | The bounds of this FileBrowser |
| -> Maybe Text | The FileBrowser label |
| -> Maybe (Ref FileBrowser -> IO ()) | Optional custom drawing function |
| -> Maybe (CustomWidgetFuncs FileBrowser) | Optional custom widget functions |
| -> IO (Ref FileBrowser) |
Hierarchy
Graphics.UI.FLTK.LowLevel.Widget | v Graphics.UI.FLTK.LowLevel.Group | v Graphics.UI.FLTK.LowLevel.Browser | v Graphics.UI.FLTK.LowLevel.FileBrowser
Functions
draw ::RefFileBrowser->IO() drawSuper ::RefFileBrowser->IO() getFiletype ::RefFileBrowser->IO(FileBrowserType) getFilter ::RefFileBrowser->IOTextgetIconsize ::RefFileBrowser->IO(CUChar) getTextsize ::RefFileBrowser->IO(FontSize) handle ::RefFileBrowser->Event->IO(EitherUnknownEvent()) handleSuper ::RefFileBrowser->Event->IO(EitherUnknownEvent()) hide ::RefFileBrowser->IO() hideSuper ::RefFileBrowser->IO() load ::RefFileBrowser->Text->FileSortF->IO(EitherUnknownError()) resize ::RefFileBrowser->Rectangle->IO() resizeSuper ::RefFileBrowser->Rectangle->IO() setFiletype ::RefFileBrowser->FileBrowserType->IO() setFilter ::RefFileBrowser->Text->IO() setIconsize ::RefFileBrowser->CUChar->IO() setTextsize ::RefFileBrowser->FontSize->IO() showWidget ::RefFileBrowser->IO() showWidgetSuper ::RefFileBrowser->IO()
Orphan instances
| (~) * impl (IO FileBrowserType) => Op (GetFiletype ()) FileBrowser orig impl Source # | |
| (~) * impl (FileBrowserType -> IO ()) => Op (SetFiletype ()) FileBrowser orig impl Source # | |
| (~) * impl (IO CUChar) => Op (GetIconsize ()) FileBrowser orig impl Source # | |
| (~) * impl (CUChar -> IO ()) => Op (SetIconsize ()) FileBrowser orig impl Source # | |
| (~) * impl (Text -> IO ()) => Op (SetFilter ()) FileBrowser orig impl Source # | |
| (~) * impl (IO Text) => Op (GetFilter ()) FileBrowser orig impl Source # | |
| (~) * impl (Text -> FileSortF -> IO (Either UnknownError ())) => Op (Load ()) FileBrowser orig impl Source # | |
| (~) * impl (FontSize -> IO ()) => Op (SetTextsize ()) FileBrowser orig impl Source # | |
| (~) * impl (IO FontSize) => Op (GetTextsize ()) FileBrowser orig impl Source # | |
| (~) * impl (IO ()) => Op (Draw ()) FileBrowser orig impl Source # | |
| (~) * impl (Event -> IO (Either UnknownEvent ())) => Op (HandleSuper ()) FileBrowser orig impl Source # | |
| (~) * impl (IO ()) => Op (DrawSuper ()) FileBrowser orig impl Source # | |
| (~) * impl (Rectangle -> IO ()) => Op (Resize ()) FileBrowser orig impl Source # | |
| (~) * impl (Rectangle -> IO ()) => Op (ResizeSuper ()) FileBrowser orig impl Source # | |
| (~) * impl (IO ()) => Op (Hide ()) FileBrowser orig impl Source # | |
| (~) * impl (IO ()) => Op (HideSuper ()) FileBrowser orig impl Source # | |
| (~) * impl (IO ()) => Op (ShowWidget ()) FileBrowser orig impl Source # | |
| (~) * impl (IO ()) => Op (ShowWidgetSuper ()) FileBrowser orig impl Source # | |
| (~) * impl (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) FileBrowser orig impl Source # | |