ltk-0.10.0.4: Leksah tool kit

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 BoolSource

notebookInsertOrdered :: PaneMonad alpha => (NotebookClass self, WidgetClass child) => self -> child -> String -> 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

viewNewGroup :: PaneMonad alpha => alpha ()Source

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

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

viewCollapse :: PaneMonad alpha => alpha ()Source

Two notebooks can be collapsed to one

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 => String -> alpha ()Source

View Queries

getBestPanePath :: StandardPath -> PaneLayout -> PanePathSource

Get a valid panePath from a standard path.

getBestPathForId :: PaneMonad alpha => String -> alpha PanePathSource

Get a standard path.

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

Get the path to the active pane

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

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

getNotebook :: PaneMonad alpha => PanePath -> alpha NotebookSource

Get the notebook widget for the given pane path

getPaned :: PaneMonad alpha => PanePath -> alpha PanedSource

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 NotebookSource

Construct a new notebook,

newNotebook' :: IO NotebookSource

Construct a new notebook

Accessing GUI elements

getUIAction :: PaneMonad alpha => String -> (Action -> a) -> alpha aSource

widgetGet :: PaneMonad alpha => [String] -> (Widget -> b) -> alpha bSource