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

HTk.Menuitems.MenuCommand

Description

HTk's menu command. A simple command inside a menu.

Synopsis

Documentation

data MenuCommand Source

The MenuCommand datatype.

Instances

Eq MenuCommand

Internal.

Synchronized MenuCommand

You can synchronize on a menu command.

GUIObject MenuCommand

Internal.

HasEnable MenuCommand

A menu command is a stateful object, it can be enabled or disabled.

HasJustify MenuCommand

A menu command has a configureable text justification.

HasUnderline MenuCommand

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

HasFont MenuCommand

You can specify the font of a menu command.

HasBorder MenuCommand

A menu command has a configureable border.

HasSize MenuCommand

You can specify the size of a menu command.

HasColour MenuCommand

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

HasCommand MenuCommand

When a menu command is clicked, a corresponding event is invoked.

HasBitMap MenuCommand

A menu command can contain a bitmap (instead of text or an image).

HasPhoto MenuCommand

A menu command can contain an image (instead of text or a bitmap).

HasAccelerator MenuCommand

A menu command has an optional text to display as a reminder about a keystroke binding.

MenuItem MenuCommand

A menu command is a menu item (any menu item instantiates the abstract class MenuItem).

HasIndicator MenuCommand

You can display an indicator with a menu command.

GUIValue v => HasText MenuCommand v

A menu command can contain text (instead of an image or bitmap).

createMenuCommandSource

Arguments

:: Menu

the parent menu.

-> [Config MenuCommand]

the list of configuration options for this menu command.

-> IO MenuCommand

A menu command.

Constructs a new menu command and returns a handler.