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

Safe HaskellNone
LanguageHaskell98

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 Source #

Internal.

Methods

(==) :: Box -> Box -> Bool #

(/=) :: Box -> Box -> Bool #

Destroyable Box Source #

A box can be destroyed.

Methods

destroy :: Box -> IO () #

Synchronized Box Source #

You can synchronize on a box object.

Methods

synchronize :: Box -> IO b -> IO b #

GUIObject Box Source #

Internal.

HasOrientation Box Source #

A box'es packing orientation is configureable.

HasBorder Box Source #

A box has a configureable border.

HasSize Box Source #

You can specify the size of a box.

HasColour Box Source #

A box has a configureable background colour.

Widget Box Source #

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

Container Box Source #

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

newBox Source #

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.

newHBox Source #

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.

newVBox Source #

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.

newHFBox Source #

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.

newVFBox Source #

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.