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

HTk.Containers.Window

Description

Basic types and classes concerning toplevel window resources.

Synopsis

Documentation

class GUIObject w => Window w whereSource

Toplevel windows instantiate the class Window.

Instances

Window Toplevel

A toplevel widget is a window (with various configurations and actions concerning its stacking order, display status, screen, aspect ratio etc.).

Window HTk

The wish instance is associated with the main window (with various configurations and actions concerning its stacking order, display status, screen, aspect ratio etc.).

CItem c => Window (GenGUI c)

A GenGUI object is a window.

maxSize :: Window w => Size -> Config wSource

Constraints the maximum size of the window.

getMaxSize :: Window w => w -> IO SizeSource

Gets the maximum size of the window.

minSize :: Window w => Size -> Config wSource

Constraints the minimum size of the window.

getMinSize :: Window w => w -> IO SizeSource

Gets the minimum size of the window.

raiseWinSource

Arguments

:: (Window w1, Window w2) 
=> w1

the first window.

-> w2

the second window.

-> IO ()

None.

Puts the first given window just above the second given window in the stacking order.

lowerWinSource

Arguments

:: (Window w1, Window w2) 
=> w1

the first window.

-> w2

the second window.

-> IO ()

None.

Puts the first given window just below the second given window in the stacking order.

data WindowState Source

The WindowState datatype.

data AspectRatio Source

The AspectRatio datatype.

Instances

data Whom Source

The Whom datatype.

Instances

Enum Whom 
Eq Whom 
Ord Whom 
Read Whom

Internal.

Show Whom

Internal.

GUIValue Whom

Internal.