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

HTk.Containers.Box

Description

A container widget with a preset packing orientation (for simple packing).

Synopsis

Documentation

data Box Source

The Box datatype.

Instances

Eq Box

Internal.

Destroyable Box

A box can be destroyed.

Synchronized Box

You can synchronize on a box object.

GUIObject Box

Internal.

HasOrientation Box

A box'es packing orientation is configureable.

HasBorder Box

A box has a configureable border.

HasSize Box

You can specify the size of a box.

HasColour Box

A box has a configureable background colour.

Widget Box

A box has standard widget properties (concerning focus, cursor).

Container Box

A box is a container for widgets. You can pack widgets to a box via pack or grid command in the module Packer.

newBoxSource

Arguments

:: Container par 
=> par

the parent widget, which has to be a container widget (an instance of class Container).

-> Flexibility

the flexibility of the box.

-> [Config Box]

the list of configuration options for this box.

-> IO Box

A box.

Constructs a new box and returns a handler.

newHBoxSource

Arguments

:: Container par 
=> par

the parent widget, which has to be a container widget (an instance of class Container).

-> [Config Box]

the list of configuration options for this box.

-> IO Box

A box.

Constructs a new box with horizontal packing order and rigid flexibility and returns a handler.

newVBoxSource

Arguments

:: Container par 
=> par

the parent widget, which has to be a container widget (an instance of class Container).

-> [Config Box]

the list of configuration options for this box.

-> IO Box

A box.

Constructs a new box with vertical packing order and rigid flexibility and returns a handler.

newHFBoxSource

Arguments

:: Container par 
=> par

the parent widget, which has to be a container widget (an instance of class Container).

-> [Config Box]

the list of configuration options for this box.

-> IO Box

A box.

Constructs a new flexible box with horizontal packing order and returns a handler.

newVFBoxSource

Arguments

:: Container par 
=> par

the parent widget, which has to be a container widget (an instance of class Container).

-> [Config Box]

the list of configuration options for this box.

-> IO Box

A box.

Constructs a new flexible box with vertical packing order and returns a handler.