ltk-0.15.0.5: Leksah tool kit

Safe HaskellNone
LanguageHaskell98

Graphics.UI.Editor.Composite

Contents

Description

Module for making composite editors

Synopsis

Documentation

maybeEditor :: Default beta => (Editor beta, Parameters) -> Bool -> Text -> Editor (Maybe beta) #

An editor with a subeditor which gets active, when a checkbox is selected or deselected (if the positive Argument is False)

disableEditor :: Default beta => (Editor beta, Parameters) -> Bool -> Text -> Editor (Bool, beta) #

An editor with a subeditor which gets active, when a checkbox is selected or grayed out (if the positive Argument is False)

pairEditor :: (Editor alpha, Parameters) -> (Editor beta, Parameters) -> Editor (alpha, beta) #

An editor which composes two subeditors

tupel3Editor :: (Editor alpha, Parameters) -> (Editor beta, Parameters) -> (Editor gamma, Parameters) -> Editor (alpha, beta, gamma) #

splitEditor :: (Editor alpha, Parameters) -> (Editor beta, Parameters) -> Editor (alpha, beta) #

Like a pair editor, but with a moveable split

eitherOrEditor :: (Default alpha, Default beta) => (Editor alpha, Parameters) -> (Editor beta, Parameters) -> Text -> Editor (Either alpha beta) #

An editor with a subeditor which gets active, when a checkbox is selected or deselected (if the positive Argument is False)

multisetEditor #

Arguments

:: (Show alpha, Default alpha, Eq alpha) 
=> ColumnDescr alpha 
-> (Editor alpha, Parameters) 
-> Maybe ([alpha] -> [alpha])

The mbSort arg, a sort function if desired

-> Maybe (alpha -> alpha -> Bool)

The mbReplace arg, a function which is a criteria for removing an old entry when adding a new value

-> Editor [alpha] 

An editor with a subeditor, of which a list of items can be selected

data ColumnDescr row #

Constructors

ColumnDescr Bool [(Text, row -> [AttrOp CellRendererText])] 

Orphan instances