Safe Haskell | None |
---|---|
Language | Haskell2010 |
- setGUICallbacks :: MyGUI -> IO ()
- setViewCallbacks :: MyGUI -> MyView -> IO ()
- openTerminalHere :: MyView -> IO ProcessID
- closeTab :: MyGUI -> MyView -> IO ()
- newTabHere :: MyGUI -> Item -> IO ()
- del :: [Item] -> MyGUI -> MyView -> IO ()
- moveInit :: [Item] -> MyGUI -> MyView -> IO ()
- copyInit :: [Item] -> MyGUI -> MyView -> IO ()
- operationFinal :: MyGUI -> MyView -> Maybe Item -> IO ()
- newFile :: MyGUI -> MyView -> IO ()
- newDir :: MyGUI -> MyView -> IO ()
- renameF :: [Item] -> MyGUI -> MyView -> IO ()
- urlGoTo :: MyGUI -> MyView -> IO ()
- goHome :: MyGUI -> MyView -> IO ()
- execute :: [Item] -> MyGUI -> MyView -> IO ()
- open :: [Item] -> MyGUI -> MyView -> IO ()
- upDir :: MyGUI -> MyView -> IO ()
- goHistoryPrev :: MyGUI -> MyView -> IO ()
- goHistoryNext :: MyGUI -> MyView -> IO ()
Documentation
setGUICallbacks :: MyGUI -> IO () Source #
Set callbacks for the whole gui, on hotkeys, events and stuff.
setViewCallbacks :: MyGUI -> MyView -> IO () Source #
Set callbacks specific to a given view, on hotkeys, events and stuff.
closeTab :: MyGUI -> MyView -> IO () Source #
Closes the current tab, but only if there is more than one tab.
del :: [Item] -> MyGUI -> MyView -> IO () Source #
Supposed to be used with withRows
. Deletes a file or directory.
copyInit :: [Item] -> MyGUI -> MyView -> IO () Source #
Supposed to be used with withRows
. Initializes a file copy operation.
operationFinal :: MyGUI -> MyView -> Maybe Item -> IO () Source #
Finalizes a file operation, such as copy or move.
urlGoTo :: MyGUI -> MyView -> IO () Source #
Go to the url given at the urlBar
and visualize it in the given
+
Safe Haskell | None |
---|---|
Language | Haskell2010 |
- setGUICallbacks :: MyGUI -> IO ()
- setViewCallbacks :: MyGUI -> MyView -> IO ()
- openTerminalHere :: MyView -> IO ProcessID
- closeTab :: MyGUI -> MyView -> IO ()
- newTab' :: MyGUI -> MyView -> IO ()
- opeInNewTab :: MyGUI -> Item -> IO ()
- del :: [Item] -> MyGUI -> MyView -> IO ()
- moveInit :: [Item] -> MyGUI -> MyView -> IO ()
- copyInit :: [Item] -> MyGUI -> MyView -> IO ()
- operationFinal :: MyGUI -> MyView -> Maybe Item -> IO ()
- newFile :: MyGUI -> MyView -> IO ()
- newDir :: MyGUI -> MyView -> IO ()
- renameF :: [Item] -> MyGUI -> MyView -> IO ()
- urlGoTo :: MyGUI -> MyView -> IO ()
- goHome :: MyGUI -> MyView -> IO ()
- execute :: [Item] -> MyGUI -> MyView -> IO ()
- open :: [Item] -> MyGUI -> MyView -> IO ()
- upDir :: MyGUI -> MyView -> IO ()
- goHistoryPrev :: MyGUI -> MyView -> IO ()
- goHistoryNext :: MyGUI -> MyView -> IO ()
Documentation
setGUICallbacks :: MyGUI -> IO () Source #
Set callbacks for the whole gui, on hotkeys, events and stuff.
setViewCallbacks :: MyGUI -> MyView -> IO () Source #
Set callbacks specific to a given view, on hotkeys, events and stuff.
closeTab :: MyGUI -> MyView -> IO () Source #
Closes the current tab, but only if there is more than one tab.
del :: [Item] -> MyGUI -> MyView -> IO () Source #
Supposed to be used with withRows
. Deletes a file or directory.
copyInit :: [Item] -> MyGUI -> MyView -> IO () Source #
Supposed to be used with withRows
. Initializes a file copy operation.
operationFinal :: MyGUI -> MyView -> Maybe Item -> IO () Source #
Finalizes a file operation, such as copy or move.
urlGoTo :: MyGUI -> MyView -> IO () Source #
Go to the url given at the urlBar
and visualize it in the given
treeView.
If the url is invalid, does nothing.
Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data MyGUI = MkMyGUI {
- rootWin :: !Window
- menubar :: !MenuBar
- statusBar :: !Statusbar
- clearStatusBar :: !Button
- notebook :: !Notebook
- fprop :: !FilePropertyGrid
- settings :: !(TVar FMSettings)
- operationBuffer :: !(TVar FileOperation)
- data MyView = MkMyView {
- view :: !(TVar FMView)
- cwd :: !(MVar Item)
- rawModel :: !(TVar (ListStore Item))
- sortedModel :: !(TVar (TypedTreeModelSort Item))
- filteredModel :: !(TVar (TypedTreeModelFilter Item))
- inotify :: !(MVar INotify)
- history :: !(TVar ([Path Abs], [Path Abs]))
- scroll :: !ScrolledWindow
- viewBox :: !Box
- rcmenu :: !RightClickMenu
- upViewB :: !Button
- homeViewB :: !Button
- refreshViewB :: !Button
- urlBar :: !Entry
- data MenuBar = MkMenuBar {
- menubarFileQuit :: !ImageMenuItem
- menubarHelpAbout :: !ImageMenuItem
- data RightClickMenu = MkRightClickMenu {
- rcMenu :: !Menu
- rcFileOpen :: !ImageMenuItem
- rcFileExecute :: !ImageMenuItem
- rcFileNewRegFile :: !ImageMenuItem
- rcFileNewDir :: !ImageMenuItem
- rcFileNewTab :: !ImageMenuItem
- rcFileNewTabHere :: !ImageMenuItem
- rcFileCut :: !ImageMenuItem
- rcFileCopy :: !ImageMenuItem
- rcFileRename :: !ImageMenuItem
- rcFilePaste :: !ImageMenuItem
- rcFileDelete :: !ImageMenuItem
- rcFileProperty :: !ImageMenuItem
- rcFileIconView :: !ImageMenuItem
- rcFileTreeView :: !ImageMenuItem
- data FilePropertyGrid = MkFilePropertyGrid {
- fpropGrid :: !Grid
- fpropFnEntry :: !Entry
- fpropLocEntry :: !Entry
- fpropTsEntry :: !Entry
- fpropModEntry :: !Entry
- fpropAcEntry :: !Entry
- fpropFTEntry :: !Entry
- fpropPermEntry :: !Entry
- fpropLDEntry :: !Entry
- data FMSettings = MkFMSettings {}
- data FMView
- = FMTreeView !TreeView
- | FMIconView !IconView
- type Item = File FileInfo
- fmViewToContainer :: FMView -> Container
Documentation
Monolithic object passed to various GUI functions in order +
Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data MyGUI = MkMyGUI {
- rootWin :: !Window
- menubar :: !MenuBar
- statusBar :: !Statusbar
- clearStatusBar :: !Button
- notebook :: !Notebook
- fprop :: !FilePropertyGrid
- settings :: !(TVar FMSettings)
- operationBuffer :: !(TVar FileOperation)
- data MyView = MkMyView {
- view :: !(TVar FMView)
- cwd :: !(MVar Item)
- rawModel :: !(TVar (ListStore Item))
- sortedModel :: !(TVar (TypedTreeModelSort Item))
- filteredModel :: !(TVar (TypedTreeModelFilter Item))
- inotify :: !(MVar INotify)
- history :: !(TVar ([Path Abs], [Path Abs]))
- scroll :: !ScrolledWindow
- viewBox :: !Box
- rcmenu :: !RightClickMenu
- upViewB :: !Button
- homeViewB :: !Button
- refreshViewB :: !Button
- urlBar :: !Entry
- data MenuBar = MkMenuBar {
- menubarFileQuit :: !ImageMenuItem
- menubarHelpAbout :: !ImageMenuItem
- data RightClickMenu = MkRightClickMenu {
- rcMenu :: !Menu
- rcFileOpen :: !ImageMenuItem
- rcFileExecute :: !ImageMenuItem
- rcFileNewRegFile :: !ImageMenuItem
- rcFileNewDir :: !ImageMenuItem
- rcFileNewTab :: !ImageMenuItem
- rcFileNewTerm :: !ImageMenuItem
- rcFileCut :: !ImageMenuItem
- rcFileCopy :: !ImageMenuItem
- rcFileRename :: !ImageMenuItem
- rcFilePaste :: !ImageMenuItem
- rcFileDelete :: !ImageMenuItem
- rcFileProperty :: !ImageMenuItem
- rcFileIconView :: !ImageMenuItem
- rcFileTreeView :: !ImageMenuItem
- data FilePropertyGrid = MkFilePropertyGrid {
- fpropGrid :: !Grid
- fpropFnEntry :: !Entry
- fpropLocEntry :: !Entry
- fpropTsEntry :: !Entry
- fpropModEntry :: !Entry
- fpropAcEntry :: !Entry
- fpropFTEntry :: !Entry
- fpropPermEntry :: !Entry
- fpropLDEntry :: !Entry
- data FMSettings = MkFMSettings {}
- data FMView
- = FMTreeView !TreeView
- | FMIconView !IconView
- type Item = File FileInfo
- fmViewToContainer :: FMView -> Container
Documentation
Monolithic object passed to various GUI functions in order to keep the API stable and not alter the parameters too much. This only holds GUI widgets that are needed to be read during runtime.
MkMyGUI | |
|
This describes the contents of the current view and is separated from MyGUI, - because we might want to have multiple views.
MkMyView | |
|
MkMenuBar | |
|
data RightClickMenu Source #
MkRightClickMenu | |
|
data FilePropertyGrid Source #
MkFilePropertyGrid | |
|
FMTreeView !TreeView | |
FMIconView !IconView |
fmViewToContainer :: FMView -> Container Source #
MkMyView | |
|
MkMenuBar | |
|
data RightClickMenu Source #
MkRightClickMenu | |
|
data FilePropertyGrid Source #
MkFilePropertyGrid | |
|
FMTreeView !TreeView | |
FMIconView !IconView |
fmViewToContainer :: FMView -> Container Source #