termonad-4.6.0.0: Terminal emulator configurable in Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Termonad.Window

Synopsis

Documentation

notebookPageReorderedCallback Source #

Arguments

:: 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).

updateFLTabPos Source #

Arguments

:: 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 Notebooks tab-order has been changed.