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

Safe HaskellNone
LanguageHaskell98

HTk.Widgets.MenuButton

Synopsis

Documentation

data MenuButton Source

The MenuButton datatype.

Instances

Destroyable MenuButton

A menubutton widget can be destroyed.

Synchronized MenuButton

You can synchronize on a menubutton object (in JAVA style).

GUIObject MenuButton

Internal.

HasEnable MenuButton

A menubutton widget is a stateful widget, it can be enabled or disabled.

HasJustify MenuButton

A menu button has a configureable text justification.

HasUnderline MenuButton

You can set the index of a text character to underline.

HasFont MenuButton

You can specify the font of a menubutton.

HasBorder MenuButton

A menubutton widget has a configureable border.

HasSize MenuButton

You can specify the size of a menubutton.

HasColour MenuButton

A menu button has a normal foreground and background colour and an active/disabled foreground and background colour.

HasAnchor MenuButton

A menubutton has a text anchor.

HasTooltip MenuButton

A menubutton can have a tooltip (only displayed if you are using tixwish).

Widget MenuButton

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

HasCommand MenuButton

When a menubutton is clicked, a corresponding event is invoked.

ButtonWidget MenuButton

A menubutton widget can be flashed (redisplayed several times in alternate colours) and invoked (the associated event).

HasBitMap MenuButton

A menubutton widget can contain a bitmap.

HasPhoto MenuButton

A menubutton can contain an image.

HasMenu MenuButton

A menubutton is a menu container.

GUIValue v => HasText MenuButton v

A menubutton can contain text.

newMenuButton Source

Arguments

:: Container par 
=> par

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

-> [Config MenuButton]

the list of configuration options for this menubutton.

-> IO MenuButton

A menubutton widget.

Constructs a new menubutton widget and returns a handler.