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

Safe HaskellNone
LanguageHaskell98

HTk.Containers.Window

Contents

Description

Basic types and classes concerning toplevel window resources.

Synopsis

Documentation

class GUIObject w => Window w where Source #

Toplevel windows instantiate the class Window.

Instances

Window Toplevel Source #

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

Window HTk Source #

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

A GenGUI object is a window.

maxSize :: Window w => Size -> Config w Source #

Constraints the maximum size of the window.

getMaxSize :: Window w => w -> IO Size Source #

Gets the maximum size of the window.

minSize :: Window w => Size -> Config w Source #

Constraints the minimum size of the window.

getMinSize :: Window w => w -> IO Size Source #

Gets the minimum size of the window.

raiseWin Source #

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.

lowerWin Source #

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

The Whom datatype.

Orphan instances

Window w => HasGeometry w Source #

A window has a configureable size and anchor position (geometry).

(Window w, GUIObject w) => HasPosition w Source #

A window has a position on the associated screen.

(Window w, GUIObject w) => HasSize w Source #

A window has a configureable size.

(Window w, GUIValue v) => HasText w v Source #

A window has a title.

Methods

text :: v -> Config w Source #

getText :: w -> IO v Source #