fltkhs-0.5.3.5: FLTK bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.FLTK.LowLevel.FileBrowser

Contents

Synopsis

Constructor

fileBrowserCustom 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) 

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

Hierarchy

Functions

draw :: Ref FileBrowser -> IO ()

drawSuper :: Ref FileBrowser -> IO ()

getFiletype :: Ref FileBrowser -> IO (FileBrowserType)

getFilter :: Ref FileBrowser -> IO Text

getIconsize :: Ref FileBrowser -> IO (CUChar)

getTextsize :: Ref FileBrowser -> IO (FontSize)

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

handleSuper :: Ref FileBrowser -> Event -> IO (Either UnknownEvent ())

hide :: Ref FileBrowser -> IO ()

hideSuper :: Ref FileBrowser -> IO ()

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

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

resizeSuper :: Ref FileBrowser -> Rectangle -> IO ()

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

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

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

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

showWidget :: Ref FileBrowser -> IO ()

showWidgetSuper :: Ref FileBrowser -> 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 #

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

Methods

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

(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (HandleSuper ()) FileBrowser orig impl Source # 

Methods

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

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

Methods

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

(~) * impl (Rectangle -> IO ()) => Op (Resize ()) FileBrowser orig impl Source # 

Methods

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

(~) * impl (Rectangle -> IO ()) => Op (ResizeSuper ()) FileBrowser orig impl Source # 

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

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

Methods

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

(~) * impl (Event -> IO (Either UnknownEvent ())) => Op (Handle ()) FileBrowser orig impl Source # 

Methods

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