Safe Haskell | None |
---|---|
Language | Haskell2010 |
- chooseFile :: Window -> Text -> Maybe FilePath -> [(String, [String])] -> IO (Maybe FilePath)
- chooseDir :: Window -> Text -> Maybe FilePath -> IO (Maybe FilePath)
- chooseSaveFile :: Window -> Text -> Maybe FilePath -> IO (Maybe FilePath)
- openBrowser :: Text -> IDEAction
- showDialog :: Text -> MessageType -> IO ()
- showErrorDialog :: Text -> IO ()
- showDialogOptions :: Text -> MessageType -> [(Text, IO ())] -> Maybe Int -> IO ()
- showInputDialog :: Text -> Text -> IO (Maybe Text)
- getFullScreenState :: PaneMonad alpha => alpha Bool
- setFullScreenState :: PaneMonad alpha => Bool -> alpha ()
- getDarkState :: PaneMonad alpha => alpha Bool
- setDarkState :: PaneMonad alpha => Bool -> alpha ()
- getBackgroundBuildToggled :: PaneMonad alpha => alpha Bool
- setBackgroundBuildToggled :: PaneMonad alpha => Bool -> alpha ()
- getRunUnitTests :: PaneMonad alpha => alpha Bool
- setRunUnitTests :: PaneMonad alpha => Bool -> alpha ()
- getMakeModeToggled :: PaneMonad alpha => alpha Bool
- setMakeModeToggled :: PaneMonad alpha => Bool -> alpha ()
- getDebugToggled :: PaneMonad alpha => alpha Bool
- setDebugToggled :: PaneMonad alpha => Bool -> alpha ()
- getRecentFiles :: IDEM MenuItem
- getRecentWorkspaces :: IDEM MenuItem
- getVCS :: IDEM MenuItem
- stockIdFromType :: DescrType -> StockId
- mapControlCommand :: t -> t
- treeViewToggleRow :: TreeViewClass self => self -> TreePath -> IO Bool
- treeViewContextMenu :: TreeViewClass treeView => treeView -> (Menu -> IO ()) -> IO (ConnectId treeView, ConnectId treeView)
- treeViewContextMenu' :: TreeViewClass treeView => treeView -> TreeStore a -> (a -> TreePath -> TreeStore a -> IDEM [[(Text, IDEAction)]]) -> IDEM (ConnectId treeView, ConnectId treeView)
- treeStoreGetForest :: TreeStore a -> IO (Forest a)
- __ :: Text -> Text
- fontDescription :: Maybe Text -> IDEM FontDescription
Documentation
:: Window | |
-> Text | Window title |
-> Maybe FilePath | Start location |
-> [(String, [String])] | File filters, e.g. [("Music Files", ["*.mp3", "*.wav"])] |
-> IO (Maybe FilePath) |
Launch a "choose file" dialog
openBrowser :: Text -> IDEAction Source
showDialog :: Text -> MessageType -> IO () Source
Show a text dialog with an Ok button and a specific messagetype
showErrorDialog :: Text -> IO () Source
Show an error dialog with an Ok button
:: Text | the message |
-> MessageType | type of dialog |
-> [(Text, IO ())] | button text and corresponding actions |
-> Maybe Int | index of button that has default focus (0-based) |
-> IO () |
Show a dialog with custom buttons and callbacks
Show a simple dialog that asks the user for some text
getFullScreenState :: PaneMonad alpha => alpha Bool Source
setFullScreenState :: PaneMonad alpha => Bool -> alpha () Source
getDarkState :: PaneMonad alpha => alpha Bool Source
setDarkState :: PaneMonad alpha => Bool -> alpha () Source
getBackgroundBuildToggled :: PaneMonad alpha => alpha Bool Source
setBackgroundBuildToggled :: PaneMonad alpha => Bool -> alpha () Source
getRunUnitTests :: PaneMonad alpha => alpha Bool Source
setRunUnitTests :: PaneMonad alpha => Bool -> alpha () Source
getMakeModeToggled :: PaneMonad alpha => alpha Bool Source
setMakeModeToggled :: PaneMonad alpha => Bool -> alpha () Source
getDebugToggled :: PaneMonad alpha => alpha Bool Source
setDebugToggled :: PaneMonad alpha => Bool -> alpha () Source
mapControlCommand :: t -> t Source
treeViewToggleRow :: TreeViewClass self => self -> TreePath -> IO Bool Source
Toggles a row in a TreeView
treeViewContextMenu :: TreeViewClass treeView => treeView -> (Menu -> IO ()) -> IO (ConnectId treeView, ConnectId treeView) Source
:: TreeViewClass treeView | |
=> treeView | The view |
-> TreeStore a | The model |
-> (a -> TreePath -> TreeStore a -> IDEM [[(Text, IDEAction)]]) | Produces the menu items for the selected values when right clicking The lists are seperated by a seperator |
-> IDEM (ConnectId treeView, ConnectId treeView) |
Sets the context menu for a treeView widget
treeStoreGetForest :: TreeStore a -> IO (Forest a) Source