gi-gtk-3.0.11: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.CellRendererCombo

Contents

Description

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 widget to edit the text. The values to display in the combo box are taken from the tree model specified in the CellRendererCombo: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 CellRendererCombo:text-column property. Further properties of the combo box can be set in a handler for the CellRenderer::editing-started signal.

The CellRendererCombo cell renderer was added in GTK+ 2.6.

Synopsis

Exported types

Methods

new

cellRendererComboNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m CellRendererCombo

Returns: the new cell renderer

Creates a new CellRendererCombo. Adjust how text is drawn using object properties. Object properties can be set globally (with g_object_set()). Also, with TreeViewColumn, you can bind a property to a value in a TreeModel. For example, you can bind the “text” property on the cell renderer to a string value in the model, thus rendering a different string in each row of the TreeView.

Since: 2.6

Properties

hasEntry

data CellRendererComboHasEntryPropertyInfo Source #

Instances

AttrInfo CellRendererComboHasEntryPropertyInfo Source # 
type AttrOrigin CellRendererComboHasEntryPropertyInfo Source # 
type AttrLabel CellRendererComboHasEntryPropertyInfo Source # 
type AttrGetType CellRendererComboHasEntryPropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererComboHasEntryPropertyInfo Source # 
type AttrSetTypeConstraint CellRendererComboHasEntryPropertyInfo Source # 
type AttrAllowedOps CellRendererComboHasEntryPropertyInfo Source # 

model

data CellRendererComboModelPropertyInfo Source #

Instances

AttrInfo CellRendererComboModelPropertyInfo Source # 
type AttrOrigin CellRendererComboModelPropertyInfo Source # 
type AttrLabel CellRendererComboModelPropertyInfo Source # 
type AttrGetType CellRendererComboModelPropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererComboModelPropertyInfo Source # 
type AttrSetTypeConstraint CellRendererComboModelPropertyInfo Source # 
type AttrAllowedOps CellRendererComboModelPropertyInfo Source # 

textColumn

data CellRendererComboTextColumnPropertyInfo Source #

Instances

AttrInfo CellRendererComboTextColumnPropertyInfo Source # 
type AttrOrigin CellRendererComboTextColumnPropertyInfo Source # 
type AttrLabel CellRendererComboTextColumnPropertyInfo Source # 
type AttrGetType CellRendererComboTextColumnPropertyInfo Source # 
type AttrBaseTypeConstraint CellRendererComboTextColumnPropertyInfo Source # 
type AttrSetTypeConstraint CellRendererComboTextColumnPropertyInfo Source # 
type AttrAllowedOps CellRendererComboTextColumnPropertyInfo Source # 

Signals

changed