Name

Combo —

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

Synopsis

comboDisableActivate:: ComboClass c => c -> IO ()
comboGetList:: Combo -> IO List
comboSetCaseSensitive:: ComboClass c => c -> Bool -> IO ()
comboSetPopdownStrings:: ComboClass c => c -> [String] -> IO ()
comboSetUseArrows:: ComboClass c => c -> Bool -> IO ()
comboSetUseArrowsAlways:: ComboClass c => c -> Bool -> IO ()
comboSetValueInList:: ComboClass c => c -> Bool -> Bool -> IO ()

Introduction

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.

Methods

comboDisableActivate

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.

comboDisableActivate:: c:: IO ()

comboGetList

Extract the List container from a Combo box.

comboGetList:: Combo:: IO List
c

comboSetCaseSensitive

Specify whether the entered text is case sensitive when it comes to matching the users input with the predefined alternatives.

comboSetCaseSensitive:: c:: Bool:: IO ()
cval

comboSetPopdownStrings

Insert a set of Strings into the Combo drop down list.

comboSetPopdownStrings:: c:: [String]:: IO ()
cstrs

comboSetUseArrows

Specify if the user may use the cursor keys to navigate the list.

comboSetUseArrows:: c:: Bool:: IO ()
cval

comboSetUseArrowsAlways

Specify if the content entered by the user will be replaced by a predefined alternative as soon as the user uses the cursor keys.

comboSetUseArrowsAlways:: c:: Bool:: IO ()
cval

comboSetValueInList

Specify whether the user may enter texts that are not in the list of alternatives and if empty entries are allowed.

comboSetValueInList:: c:: Bool:: Bool:: IO ()
cvalokIfEmpty