Ubuntu Manpages

Gtk2::CellView

wrapper for GtkCellView

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

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

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)

$cell_view->set_displayed_row ($path)

  • $path (Gtk2::TreePath)

Since: gtk+ 2.16

$cell_view->set_model ($model)

  • $model (Gtk2::TreeModel or undef)

  • $path (Gtk2::TreePath)

'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

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

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

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