|
Graphics.UI.Gtk.ModelView.CellView | Portability | portable (depends on GHC) | Stability | provisional | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
|
|
Description |
A widget displaying a single row of a TreeModel
- Module available since Gtk+ version 2.6
|
|
Synopsis |
|
|
|
|
Detail
|
|
A CellView displays a single row of a TreeModel, using cell renderers
just like TreeView. CellView doesn't support some of the more complex
features of TreeView, like cell editing and drag and drop.
|
|
Class Hierarchy
|
|
| GObject
| +----Object
| +----Widget
| +----CellView
|
|
Types
|
|
|
Instances | |
|
|
|
| Instances | |
|
|
|
|
|
|
|
|
Constructors
|
|
|
Creates a new CellView widget.
|
|
|
:: String | markup - the text to display in the cell view
| -> IO CellView | | Creates a new CellView widget, adds a CellRendererText to it, and
makes its show markup. The text can be marked up with the Pango
text markup language.
|
|
|
|
|
|
|
|
|
Methods
|
|
|
:: (CellViewClass self, TreeModelClass model) | | => self | | -> Maybe model | model - a TreeModel
| -> IO () | | Sets the model for cellView. If cellView already has a model set, it
will remove it before setting the new model. If model is Nothing, then
it will unset the old model.
|
|
|
|
|
|
cellViewSetBackgroundColor | Source |
|
:: CellViewClass self | | => self | | -> Color | color - the new background color
| -> IO () | | Sets the background color of view.
|
|
|
|
Returns the cell renderers which have been added to cellView.
|
|
Attributes
|
|
|
Background color as a string.
Default value: ""
|
|
Produced by Haddock version 2.6.1 |