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

Safe HaskellNone
LanguageHaskell98

HTk.Canvasitems.TextItem

Description

HTk's text canvas item. A text container on a canvas widget.

Synopsis

Documentation

data TextItem Source #

The TextItem datatype.

Instances

Eq TextItem Source # 
Destroyable TextItem Source #

A text item can be destroyed.

Methods

destroy :: TextItem -> IO () #

Synchronized TextItem Source #

You can synchronize on a text item.

Methods

synchronize :: TextItem -> IO b -> IO b #

GUIObject TextItem Source #

Internal.

HasJustify TextItem Source #

A text item has a configureable text justification.

HasFont TextItem Source #

You can specify the font of a text item.

HasCanvAnchor TextItem Source #

You can specify the anchor position of a text item.

HasPosition TextItem Source #

You can specify the position of a text item.

HasSize TextItem Source #

You can specify the width of a text item.

HasAnchor TextItem Source #

An anchor defines where a text item is placed relative to the given position.

FilledCanvasItem TextItem Source #

An oval item is a filled canvas item (it has filling, outline width, and stipple configurations).

CanvasItem TextItem Source #

A text item is a canvas item (any canvas item is an instance of the abstract class CanvasItem).

TaggedCanvasItem TextItem Source #

A text item can have several tags (handlers for a set of canvas items).

GUIValue b => HasText TextItem b Source #

A text item is a container for text.

createTextItem Source #

Arguments

:: Canvas

the parent canvas.

-> [Config TextItem]

the list of configuration options for this text item.

-> IO TextItem

A text item.

Constructs a new text item.