---
name: "Gtk2::CellView"
section: "3pm"
platform: "linux"
package: "libgtk2-perl-doc"
version: "2:1.24992-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::CellView"
---

# Gtk2::CellView(3pm)

wrapper for GtkCellView

## NAME

Gtk2::CellView - wrapper for GtkCellView

## HIERARCHY

```
  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::CellView
```

## INTERFACES

```
  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable
  Gtk2::CellLayout
```

## METHODS

### widget = Gtk2::CellView-\>new

### widget = Gtk2::CellView-\>new\_with\_markup ($markup)

- •

  `$markup` (string)

### widget = Gtk2::CellView-\>new\_with\_pixbuf ($pixbuf)

- •

  `$pixbuf` (Gtk2::Gdk::Pixbuf)

### widget = Gtk2::CellView-\>new\_with\_text ($text)

- •

  `$text` (string)

### $cell\_view-\>set\_background\_color ($color)

- •

  `$color` (Gtk2::Gdk::Color)

### list = $cellview-\>get\_cell\_renderers

### treepath = $cell\_view-\>get\_displayed\_row

### $cell\_view-\>set\_displayed\_row ($path)

- •

  `$path` (Gtk2::TreePath)

### treemodel or undef = $cellview-\>get\_model

Since: gtk+ 2.16

### $cell\_view-\>set\_model ($model)

- •

  `$model` (Gtk2::TreeModel or undef)

### requisition = $cell\_view-\>get\_size\_of\_row ($path)

- •

  `$path` (Gtk2::TreePath)

## PROPERTIES

- 'background' (string : default undef : writable / private)

  Background color as a string

- 'background-gdk' (Gtk2::Gdk::Color : default undef : readable / writable / private)

  Background color as a GdkColor

- 'background-set' (boolean : default false : readable / writable / private)

  Whether this tag affects the background color

- 'model' (Gtk2::TreeModel : default undef : readable / writable / private)

  The model for cell view

## SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget

## COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL.  See Gtk2 for a full notice.
