uni-htk-2.2.1.3: Graphical User Interface for Haskell Programs

Safe HaskellNone
LanguageHaskell98

HTk.Textitems.EmbeddedTextWin

Description

HTk's embedded windows inside an editor widget.

Synopsis

Documentation

createEmbeddedTextWin Source #

Arguments

:: (HasIndex Editor i BaseIndex, Widget w) 
=> Editor

the parent editor widget.

-> i

the editor's index to place the embedded window.

-> w

the contained widget.

-> [Config EmbeddedTextWin]

the list of configuration options for this embedded text window.

-> IO EmbeddedTextWin

An embedded window inside an editor widget.

Constructs a new embedded window inside an editor widget and returns a handler.

stretch :: Toggle -> Config EmbeddedTextWin Source #

If set the contained widget is stretched vertically to match the spacing of the line.

getStretch :: EmbeddedTextWin -> IO Toggle Source #

Gets the current stretch setting.