ltk-0.15.0.0: Leksah tool kit

Safe HaskellNone
LanguageHaskell98

Graphics.UI.Frame.ViewFrame

Contents

Description

Splittable panes containing notebooks with any widgets

Synopsis

Documentation

removePaneAdmin :: RecoverablePane alpha beta delta => alpha -> delta () Source

addPaneAdmin :: RecoverablePane alpha beta delta => alpha -> Connections -> PanePath -> delta Bool Source

notebookInsertOrdered :: PaneMonad alpha => (NotebookClass self, WidgetClass child) => self -> child -> Text -> Maybe Label -> Bool -> alpha () Source

markLabel :: (WidgetClass alpha, NotebookClass beta) => beta -> alpha -> Bool -> IO () Source

Add the change mark or removes it

Convenience methods for accesing Pane state

paneFromName :: PaneMonad alpha => PaneName -> alpha (IDEPane alpha) Source

mbPaneFromName :: PaneMonad alpha => PaneName -> alpha (Maybe (IDEPane alpha)) Source

View Actions

viewMove :: PaneMonad beta => PaneDirection -> beta () Source

Moves the activePane in the given direction, if possible | If their are many possibilities choose the leftmost and topmost

viewSplitHorizontal :: PaneMonad alpha => alpha () Source

Split the currently active pane in horizontal direction

viewSplitVertical :: PaneMonad alpha => alpha () Source

Split the currently active pane in vertical direction

viewSplit' :: PaneMonad alpha => PanePath -> Direction -> alpha () Source

viewNewGroup :: PaneMonad alpha => alpha () Source

viewNest :: PaneMonad alpha => Text -> alpha () Source

viewNest' :: PaneMonad alpha => PanePath -> Text -> alpha () Source

viewDetach :: PaneMonad alpha => alpha (Maybe (Window, Widget)) Source

viewCollapse :: PaneMonad alpha => alpha () Source

Two notebooks can be collapsed to one

viewCollapse' :: PaneMonad alpha => PanePath -> alpha () Source

viewTabsPos :: PaneMonad alpha => PositionType -> alpha () Source

Sets the tab position in the current notebook

viewSwitchTabs :: PaneMonad alpha => alpha () Source

Toggle the tabs of the current notebook

closeGroup :: PaneMonad alpha => Text -> alpha () Source

View Queries

getBestPanePath :: StandardPath -> PaneLayout -> PanePath Source

Get a valid panePath from a standard path.

getBestPathForId :: PaneMonad alpha => Text -> alpha PanePath Source

Get a standard path.

getActivePanePath :: PaneMonad alpha => alpha (Maybe PanePath) Source

Get the path to the active pane

figureOutPaneName :: PaneMonad alpha => Text -> Int -> alpha (Int, Text) Source

Constructs a unique pane name, which is an index and a string

getNotebook :: PaneMonad alpha => PanePath -> alpha Notebook Source

Get the notebook widget for the given pane path

getPaned :: PaneMonad alpha => PanePath -> alpha Paned Source

Get the (gtk) Paned widget for a given path

getActiveNotebook :: PaneMonad alpha => alpha (Maybe Notebook) Source

Get the active notebook

getWindows :: PaneMonad delta => delta [Window] Source

getPanesSt :: PaneMonad delta => delta (Map PaneName (IDEPane delta)) Source

getPanePrim :: RecoverablePane alpha beta delta => delta (Maybe alpha) Source

getPanes :: RecoverablePane alpha beta delta => delta [alpha] Source

View Actions

bringPaneToFront :: RecoverablePane alpha beta delta => alpha -> IO () Source

Bring the pane to the front position in its notebook

newNotebook :: PaneMonad alpha => PanePath -> alpha Notebook Source

Construct a new notebook,

newNotebook' :: IO Notebook Source

Construct a new notebook

Accessing GUI elements

getUIAction :: PaneMonad alpha => Text -> (Action -> a) -> alpha a Source

widgetGet :: PaneMonad alpha => [Text] -> (Widget -> b) -> alpha b Source