Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- modifyFontSizeForAllTerms :: (FontSize -> FontSize) -> TMState -> TMWindowId -> IO ()
- notebookPageReorderedCallback :: TMState -> TMWindowId -> Widget -> Word32 -> IO ()
- updateFLTabPos :: TMState -> TMWindowId -> Int -> Int -> IO ()
- showAboutDialog :: ApplicationWindow -> IO ()
- showFindDialog :: ApplicationWindow -> IO (Maybe Text)
- doFind :: TMState -> TMWindowId -> IO ()
- findAbove :: TMState -> TMWindowId -> IO ()
- findBelow :: TMState -> TMWindowId -> IO ()
- setupWindowCallbacks :: TMState -> Application -> ApplicationWindow -> Notebook -> TMWindowId -> IO ()
Documentation
modifyFontSizeForAllTerms :: (FontSize -> FontSize) -> TMState -> TMWindowId -> IO () Source #
notebookPageReorderedCallback Source #
:: TMState | |
-> TMWindowId | |
-> Widget | The child widget that is in the Notebook page. |
-> Word32 | The new index of the Notebook page. |
-> IO () |
This is the callback for when a page in a Notebook
has been reordered
(normally caused by a drag-and-drop event).
:: TMState | |
-> TMWindowId | |
-> Int | Current position index. |
-> Int | New position index. |
-> IO () |
Move a TMNotebookTab
from one position to another.
If the current position index is out of bounds, or the new index is out of bounds, then nothing will be done.
Note that this function doesn't change anything about the tmNotebook
.
This function is meant to be used as a call-back for when a Notebook
s
tab-order has been changed.
showAboutDialog :: ApplicationWindow -> IO () Source #
showFindDialog :: ApplicationWindow -> IO (Maybe Text) Source #
setupWindowCallbacks :: TMState -> Application -> ApplicationWindow -> Notebook -> TMWindowId -> IO () Source #