|
Graphics.UI.Gtk.ModelView.CellRendererCombo | Portability | portable (depends on GHC) | Stability | provisional | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
|
|
Description |
Renders a combobox in a cell
- Module available since Gtk+ version 2.6
|
|
Synopsis |
|
|
|
|
Detail
|
|
CellRendererCombo renders text in a cell like CellRendererText from
which it is derived. But while CellRendererText offers a simple entry to
edit the text, CellRendererCombo offers a ComboBox or ComboBoxEntry
widget to edit the text. The values to display in the combo box are taken
from the tree model specified in the model property.
The combo cell renderer takes care of adding a text cell renderer to the
combo box and sets it to display the column specified by its text-column
property. Further cell renderers can be added in a handler for the
editing-started signal.
|
|
Class Hierarchy
|
|
| GObject
| +----Object
| +----CellRenderer
| +----CellRendererText
| +----CellRendererCombo
|
|
Types
|
|
data CellRendererCombo |
Instances | |
|
|
class CellRendererTextClass o => CellRendererComboClass o |
| Instances | |
|
|
castToCellRendererCombo :: GObjectClass obj => obj -> CellRendererCombo |
|
toCellRendererCombo :: CellRendererComboClass o => o -> CellRendererCombo |
|
Constructors
|
|
cellRendererComboNew :: IO CellRendererCombo |
Creates a new CellRendererCombo. This Renderer allows for displaying
a fixed set of options the user can choose from, or, using
cellComboHasEntry, allows the user to add new elements.
|
|
Attributes
|
|
cellComboHasEntry :: CellRendererComboClass self => Attr self Bool |
If True, the cell renderer will allow the user to enter
values other than the ones in the popup list.
Default value: True
|
|
Produced by Haddock version 0.8 |