Gtk2HsContentsIndex
Graphics.UI.Gtk.MenuComboToolbar.Combo
Description

A Combo box is a text entry field with a drop down list of predefined alternatives.

  • The Combo widget allows to insert arbitrary widgets as alternatives. Due to the deprecated ListItem object we currently make no use of this feature.

TODO

  • The combo_set_item_string function is not bound as we do not handle arbitrary widgets yet.
Synopsis
data Combo
class HBoxClass o => ComboClass o
castToCombo :: GObjectClass obj => obj -> Combo
comboNew :: IO Combo
comboSetPopdownStrings :: ComboClass c => c -> [String] -> IO ()
comboSetValueInList :: ComboClass c => c -> Bool -> Bool -> IO ()
comboSetUseArrows :: ComboClass c => c -> Bool -> IO ()
comboSetUseArrowsAlways :: ComboClass c => c -> Bool -> IO ()
comboSetCaseSensitive :: ComboClass c => c -> Bool -> IO ()
comboDisableActivate :: ComboClass c => c -> IO ()
Documentation
data Combo
Instances
ComboClass Combo
HBoxClass Combo
BoxClass Combo
ContainerClass Combo
WidgetClass Combo
ObjectClass Combo
GObjectClass Combo
class HBoxClass o => ComboClass o
Instances
ComboClass Combo
castToCombo :: GObjectClass obj => obj -> Combo
comboNew :: IO Combo
comboSetPopdownStrings :: ComboClass c => c -> [String] -> IO ()
Insert a set of Strings into the Combo drop down list.
comboSetValueInList :: ComboClass c => c -> Bool -> Bool -> IO ()
Specify whether the user may enter texts that are not in the list of alternatives and if empty entries are allowed.
comboSetUseArrows :: ComboClass c => c -> Bool -> IO ()
Specify if the user may use the cursor keys to navigate the list.
comboSetUseArrowsAlways :: ComboClass c => c -> Bool -> IO ()
Specify if the content entered by the user will be replaced by a predefined alternative as soon as the user uses the cursor keys.
comboSetCaseSensitive :: ComboClass c => c -> Bool -> IO ()
Specify whether the entered text is case sensitive when it comes to matching the users input with the predefined alternatives.
comboDisableActivate :: ComboClass c => c -> IO ()
Stops the GtkCombo widget from showing the popup list when the Entry emits the "activate" signal, i.e. when the Return key is pressed. This may be useful if, for example, if you want the Return key to close a dialog instead.
Produced by Haddock version 0.6