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

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

 Source # Methods Source # A rectangle item can be destroyed. Methodsdestroy :: Rectangle -> IO () # Source # You can synchronize on a rectangle item. Methodssynchronize :: Rectangle -> IO b -> IO b # Source # Internal. Methodscset :: GUIValue a => Rectangle -> ConfigID -> a -> IO Rectangle Source #cget :: GUIValue a => Rectangle -> ConfigID -> IO a Source # Source # An alternative way to specify a rectangle's coords. Methods Source # You can specify the (upper left) position of a rectangle. Methods Source # You can specify the size of an rectangle item. Methods Source # A rectangle item is a filled canvas item (it has filling, outline, outline width, and stipple configurations). Methods Source # A rectangle item is a canvas item (any canvas item is an instance of the abstract class CanvasItem). Source # A rectangle item can have several tags (handlers for a set of canvas items). Methods

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.