table of contents
other versions
Gtk2::CellView(3pm) | User Contributed Perl Documentation | Gtk2::CellView(3pm) |
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.
2019-09-16 | perl v5.28.1 |