Source codeContentsIndex
class Destroyable o where
destroy :: o -> IO ()
class (Destroyable o) => Destructible o where
destroyed :: o -> Event ()
doOnce :: IO () -> IO (IO ())
class Destroyable o where
destroy :: o -> IO ()
Destroys an object
Destroyable Arc
Destroyable BitMap
Destroyable BitMapItem
Destroyable Box
Destroyable Button
Destroyable Canvas
Destroyable CanvasTag
Destroyable (CheckButton a)
Destroyable (ComboBox a)
(GUIObject a) => Destroyable a
Destroyable Editor
Destroyable EmbeddedCanvasWin
Destroyable EmbeddedTextWin
Destroyable (Entry a)
Destroyable Frame
(CItem c) => Destroyable (GenGUI c)
Destroyable HTk
Destroyable IconBar
Destroyable Image
Destroyable ImageItem
Destroyable Label
Destroyable LabelFrame
Destroyable Line
Destroyable (ListBox a)
Destroyable LogWin
Destroyable Menu
Destroyable MenuButton
Destroyable Message
Destroyable NoteBook
Destroyable NoteBookPage
Destroyable (NotepadItem a)
Destroyable (Notepad a)
Destroyable (OptionMenu a)
Destroyable Oval
Destroyable PanedWindow
Destroyable Pane
Destroyable Polygon
Destroyable (RadioButton a)
Destroyable Rectangle
Destroyable (Scale a)
Destroyable ScrollBar
Destroyable (ScrollBox a)
Destroyable SelectBox
Destroyable Separator
Destroyable Space
Destroyable SpinButton
Destroyable TextItem
Destroyable TextTag
Destroyable Toplevel
(CItem c) => Destroyable (TreeList c)
Destroyable Wish
class (Destroyable o) => Destructible o where
destroyed :: o -> Event ()
An event which occurs when the object is destroyed.
doOnce :: IO () -> IO (IO ())
doOnce can be used to produce an action which is identical to its argument, except that if it's already been called, it does nothing.
Produced by Haddock version 0.3