Gtk2HsContentsIndex
Graphics.UI.Gtk.Layout.Expander
Description

An Expander allows the user to hide or show its child by clicking on an expander triangle similar to the triangles used in a TreeView.

Normally you use an expander as you would use any other descendant of GtkBin you create the child widget and use containerAdd to add it to the expander. When the expander is toggled, it will take care of showing and hiding the child automatically.

  • Added in GTK+ 2.4
Synopsis
data Expander
class BinClass o => ExpanderClass o
expanderNew :: String -> IO Expander
expanderNewWithMnemonic :: String -> IO Expander
expanderSetExpanded :: Expander -> Bool -> IO ()
expanderGetExpanded :: Expander -> IO Bool
expanderSetSpacing :: Expander -> Int -> IO ()
expanderGetSpacing :: Expander -> IO Int
expanderSetLabel :: Expander -> String -> IO ()
expanderGetLabel :: Expander -> IO String
expanderSetUseUnderline :: Expander -> Bool -> IO ()
expanderGetUseUnderline :: Expander -> IO Bool
expanderSetUseMarkup :: Expander -> Bool -> IO ()
expanderGetUseMarkup :: Expander -> IO Bool
expanderSetLabelWidget :: WidgetClass widget => Expander -> widget -> IO ()
expanderGetLabelWidget :: Expander -> IO Widget
onActivate :: Expander -> IO () -> IO (ConnectId Expander)
afterActivate :: Expander -> IO () -> IO (ConnectId Expander)
Produced by Haddock version 0.6