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

Safe HaskellNone
LanguageHaskell98

HTk.Kernel.ButtonWidget

Description

This module provides general functionality on button widgets.

Synopsis

Documentation

class Widget w => ButtonWidget w where Source #

Button widgets instantiate the class ButtonWidget.

Methods

flash :: w -> IO () Source #

invoke :: w -> IO () Source #

Instances

ButtonWidget Button Source #

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

Methods

flash :: Button -> IO () Source #

invoke :: Button -> IO () Source #

ButtonWidget MenuButton Source #

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

Methods

flash :: MenuButton -> IO () Source #

invoke :: MenuButton -> IO () Source #

ButtonWidget (CheckButton a) Source #

A checkbutton widget can be flashed (redisplayed several times in alternate colours) and invoked (the associated event) as any button widget.

Methods

flash :: CheckButton a -> IO () Source #

invoke :: CheckButton a -> IO () Source #

ButtonWidget (RadioButton a) Source #

A radiobutton widget can be flashed (redisplayed several times in alternate colours) and invoked (the associated event) as any button widget.

Methods

flash :: RadioButton a -> IO () Source #

invoke :: RadioButton a -> IO () Source #

buttonColours :: HasColour w => w -> ConfigID -> Bool Source #

Internal.