Source codeContentsIndex
BaseClasses
Description
Basic types and classes.
Synopsis
class (GUIObject w) => Widget w where
cursor :: (CursorDesignator ch) => ch -> Config w
getCursor :: w -> IO Cursor
takeFocus :: Bool -> Config w
getTakeFocus :: w -> IO Bool
Documentation
class (GUIObject w) => Widget w where
Widgets instantiate the class Widget.
Methods
cursor :: (CursorDesignator ch) => ch -> Config w
Sets the mouse cursor for this widget.
getCursor :: w -> IO Cursor
Gets the mouse cursor for this widget.
takeFocus :: Bool -> Config w
If True the concerned widget can take the focus.
getTakeFocus :: w -> IO Bool
Gets the current setting.
Instances
Widget BitMap
Widget Box
Widget Button
Widget Canvas
Widget (CheckButton a)
Widget (ComboBox a)
Widget Editor
Widget EmbeddedCanvasWin
Widget (Entry a)
Widget CurrentGrab
Widget CurrentFocus
Widget Frame
(GBObject o) => Widget (GenericBrowser o)
Widget IconBar
Widget Image
Widget (InputForm a)
Widget (EntryField a b)
Widget (EnumField a b)
Widget (RecordField a b)
Widget Label
Widget LabelFrame
Widget (ListBox a)
Widget Menu
Widget MenuButton
Widget Message
Widget NoteBook
Widget NoteBookPage
Widget (Notepad a)
Widget (OptionMenu a)
Widget PanedWindow
Widget Pane
Widget (Prompt a)
Widget (RadioButton a)
Widget (Scale a)
Widget ScrollBar
(Widget a, HasScroller a) => Widget (ScrollBox a)
Widget SelectBox
Widget Space
Widget SpinButton
Widget Toplevel
(CItem c) => Widget (TreeList c)
Produced by Haddock version 0.3