fltkhs-0.5.0.4: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.FileBrowser

Contents

Synopsis

Constructor

type FileSortF = FunPtr (Ptr (Ptr ()) -> Ptr (Ptr ()) -> IO CInt) Source #

Hierarchy

Functions

getFiletype :: Ref FileBrowser -> IO (FileBrowserType)

getFilter :: Ref FileBrowser -> IO Text

getIconsize :: Ref FileBrowser -> IO (CUChar)

getTextsize :: Ref FileBrowser -> IO (FontSize)

load :: Ref FileBrowser -> Text -> FileSortF -> IO (Either UnknownError ())

setFiletype :: Ref FileBrowser -> FileBrowserType -> IO ()

setFilter :: Ref FileBrowser -> Text -> IO ()

setIconsize :: Ref FileBrowser -> CUChar -> IO ()

setTextsize :: Ref FileBrowser -> FontSize -> IO ()

Orphan instances

(~) * impl (IO FileBrowserType) => Op (GetFiletype ()) FileBrowser orig impl Source # 

Methods

runOp :: GetFiletype () -> orig -> Ref FileBrowser -> impl Source #

(~) * impl (FileBrowserType -> IO ()) => Op (SetFiletype ()) FileBrowser orig impl Source # 

Methods

runOp :: SetFiletype () -> orig -> Ref FileBrowser -> impl Source #

(~) * impl (IO CUChar) => Op (GetIconsize ()) FileBrowser orig impl Source # 

Methods

runOp :: GetIconsize () -> orig -> Ref FileBrowser -> impl Source #

(~) * impl (CUChar -> IO ()) => Op (SetIconsize ()) FileBrowser orig impl Source # 

Methods

runOp :: SetIconsize () -> orig -> Ref FileBrowser -> impl Source #

(~) * impl (Text -> IO ()) => Op (SetFilter ()) FileBrowser orig impl Source # 

Methods

runOp :: SetFilter () -> orig -> Ref FileBrowser -> impl Source #

(~) * impl (IO Text) => Op (GetFilter ()) FileBrowser orig impl Source # 

Methods

runOp :: GetFilter () -> orig -> Ref FileBrowser -> impl Source #

(~) * impl (Text -> FileSortF -> IO (Either UnknownError ())) => Op (Load ()) FileBrowser orig impl Source # 

Methods

runOp :: Load () -> orig -> Ref FileBrowser -> impl Source #

(~) * impl (FontSize -> IO ()) => Op (SetTextsize ()) FileBrowser orig impl Source # 

Methods

runOp :: SetTextsize () -> orig -> Ref FileBrowser -> impl Source #

(~) * impl (IO FontSize) => Op (GetTextsize ()) FileBrowser orig impl Source # 

Methods

runOp :: GetTextsize () -> orig -> Ref FileBrowser -> impl Source #