| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HTk.Menuitems.Indicator
Description
HTk's menuitem indicators. Indicators are displayed with menu checkbuttons, menu buttons and menu radiobuttons.
- data Indicator a = Indicator a
- class GUIObject w => HasColour w where
- class GUIObject w => HasPhoto w where
- class ButtonWidget w => SelectButton w where
- class GUIObject w => HasIndicator w where
Documentation
The Indicator datatype.
Constructors
| Indicator a |
Instances
| HasIndicator w => GUIObject (Indicator w) Source # | Internal. |
| (HasIndicator w, SelectButton w) => HasColour (Indicator w) Source # | You can specify the colour for the selector of menu checkbuttons and menu radiobuttons. |
| (HasIndicator w, SelectButton w) => HasPhoto (Indicator w) Source # | You can specify specify an alternate image for the selector of menu checkbuttons and menu radiobuttons. |
class GUIObject w => HasColour w where Source #
Coloured objects instantiate the class HasColour.
Methods
legalColourID :: w -> ConfigID -> Bool Source #
Instances
| HasColour LabelFrame Source # | A labelled frame has a background colour. |
| HasColour NoteBookPage Source # | A notebook page has a background colour. |
| HasColour Pane Source # | A pane has a background colour. |
| HasColour Message Source # | A message widget has a foreground and background colour. |
| HasColour Menu Source # | A menu has a normal foreground and background colour and an active/disabled foreground and background colour. |
| HasColour Frame Source # | A frame widget has a background colour. |
| HasColour Space Source # | A space widget has a configureable background colour. |
| HasColour Box Source # | A box has a configureable background colour. |
| HasColour ScrollBar Source # | A scrollbar widget has a background and activebackground (regarding slider) colour. |
| HasColour Canvas Source # | A canvas widget has a foreground and background colour. |
| HasColour Image Source # | An image object has a configureable foreground and background colour (if implicitely displayed inside a label widget). |
| HasColour Editor Source # | An editor widget has a foreground and background colour. |
| HasColour BitMap Source # | A bitmap object has a configureable foreground and background colour (if implicitely displayed inside a label widget). |
| HasColour MenuCascade Source # | A menu cascade item has a normal foreground and background colour and an active/disabled foreground and background colour. |
| HasColour MenuCheckButton Source # | A menu checkbutton has a normal foreground and background colour and an active/disabled foreground and background colour. |
| HasColour MenuCommand Source # | A menu command has a normal foreground and background colour and an active/disabled foreground and background colour. |
| HasColour MenuRadioButton Source # | A menu radiobutton has a normal foreground and background colour and an active/disabled foreground and background colour. |
| HasColour TextTag Source # | A text tag has a configureable foregroud and background colour. |
| HasColour Button Source # | A button widget has a normal foreground and background colour and an active/disabled foreground and background colour. |
| HasColour Label Source # | A label widget has a foreground and background colour. |
| HasColour MenuButton Source # | A menu button has a normal foreground and background colour and an active/disabled foreground and background colour. |
| HasColour IconBar Source # | An icon bar has a configureable foreground and background colour. |
| HasColour SelectBox Source # | A select box has a configureable foreground and background colour. |
| HasColour SpinButton Source # | A spin button has a normal foreground and background colour and an active/disabled foreground and background colour. |
| (HasSlider w, GUIObject w) => HasColour (Slider w) Source # | The slider component has a configureable foreground and background colour. |
| HasColour (Scale a) Source # | A scale widget has a configureable foreground, background and activebackground colour. |
| (HasSelection w, Widget w) => HasColour (Selection w) Source # | The selected entries have a configureable foreground and background colour. |
| HasColour (ListBox a) Source # | A listbox widget has a foreground and background colour. |
| (HasIndicator w, SelectButton w) => HasColour (Indicator w) Source # | You can specify the colour for the selector of menu checkbuttons and menu radiobuttons. |
| HasColour (OptionMenu a) Source # | An option menu has a normal foreground and background colour and an active/disabled foreground and background colour. |
| (HasInsertionCursor w, Widget w) => HasColour (ICursor w) Source # | The insertion cursor has a configureable colour. |
| HasColour (Entry a) Source # | An entry field has a foreground and background colour. |
| GUIValue a => HasColour (ComboBox a) Source # | A combo box widget has a background colour. |
| HasColour (CheckButton a) Source # | A checkbutton widget has a normal foreground and background colour and an active/disabled foreground and background colour. |
| HasColour (RadioButton a) Source # | A radiobutton widget has a normal foreground and background colour and an active/disabled foreground and background colour. |
| HasColour (Prompt a) Source # | A prompt has a configureable foreground and background colour. |
| (HasColour a, HasScroller a) => HasColour (ScrollBox a) Source # | A scrollbox has a configureable foreground and background colour. |
| HasColour (Notepad a) Source # | A notepad has a configureable background colour. |
| HasColour (InputForm a) Source # | |
| CItem c => HasColour (TreeList c) Source # | A tree list has a configureale background colour. |
| HasColour (RecordField a b) Source # | |
| HasColour (EnumField a b) Source # | |
| HasColour (TextField a b) Source # | |
| HasColour (CheckboxField a b) Source # | |
| HasColour (NumEntryField a b) Source # | |
| HasColour (EntryField a b) Source # | |
class GUIObject w => HasPhoto w where Source #
Image containers instantiate the class HasPhoto.
Instances
| HasPhoto MenuCascade Source # | A menu cascade item can contain an image (instead of text or a bitmap). |
| HasPhoto MenuCheckButton Source # | A menu checkbutton can contain an image (instead of text or a bitmap). |
| HasPhoto MenuCommand Source # | A menu command can contain an image (instead of text or a bitmap). |
| HasPhoto MenuRadioButton Source # | You can specify the size of a menu radiobutton. |
| HasPhoto Button Source # | A button can contain an image. |
| HasPhoto Label Source # | A label can contain an image. |
| HasPhoto MenuButton Source # | A menubutton can contain an image. |
| HasPhoto ImageItem Source # | An image item is a container for an image object. |
| (HasIndicator w, SelectButton w) => HasPhoto (Indicator w) Source # | You can specify specify an alternate image for the selector of menu checkbuttons and menu radiobuttons. |
| HasPhoto (CheckButton a) Source # | A checkbutton can contain an image. |
| HasPhoto (RadioButton a) Source # | A radiobutton can contain an image. |
| HasPhoto (Dialog a) Source # | A dialog can have an image |
class ButtonWidget w => SelectButton w where Source #
A select button can be selected or not selected.
Minimal complete definition
Methods
selectionState :: Toggle -> Config w Source #
getSelectionState :: w -> IO Toggle Source #
selectionStateSet :: w -> Event Toggle Source #
class GUIObject w => HasIndicator w where Source #
Menu items that can have an indicator instantiate the
class HasIndicator.
Instances
| HasIndicator GUIOBJECT Source # | Internal. |
| HasIndicator MenuCascade Source # | You can display an indicator with a menu cascade item. |
| HasIndicator MenuCheckButton Source # | You can display an indicator with a menu checkbutton. |
| HasIndicator MenuCommand Source # | You can display an indicator with a menu command. |
| HasIndicator MenuRadioButton Source # | You can display an indicator with a menu radiobutton. |