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

Safe HaskellNone
LanguageHaskell98

HTk.Canvasitems.Rectangle

Description

HTk's rectangle canvas item. A rectangle object on a canvas widget.

Synopsis

Documentation

data Rectangle Source #

The Rectangle datatype.

Instances

Eq Rectangle Source # 
Destroyable Rectangle Source #

A rectangle item can be destroyed.

Methods

destroy :: Rectangle -> IO () #

Synchronized Rectangle Source #

You can synchronize on a rectangle item.

Methods

synchronize :: Rectangle -> IO b -> IO b #

GUIObject Rectangle Source #

Internal.

HasGeometry Rectangle Source #

An alternative way to specify a rectangle's coords.

HasPosition Rectangle Source #

You can specify the (upper left) position of a rectangle.

HasSize Rectangle Source #

You can specify the size of an rectangle item.

FilledCanvasItem Rectangle Source #

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

CanvasItem Rectangle Source #

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

TaggedCanvasItem Rectangle Source #

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

createRectangle Source #

Arguments

:: Canvas

the parent canvas.

-> [Config Rectangle]

the list of configuration options for this rectangle item.

-> IO Rectangle

A rectangle item.

Constructs a new rectangle item.