1Gtk2::CellView(3)     User Contributed Perl Documentation    Gtk2::CellView(3)
2
3
4

NAME

6       Gtk2::CellView - wrapper for GtkCellView
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::CellView
14

INTERFACES

16         Glib::Object::_Unregistered::AtkImplementorIface
17         Gtk2::Buildable
18         Gtk2::CellLayout
19

METHODS

21   widget = Gtk2::CellView->new
22   widget = Gtk2::CellView->new_with_markup ($markup)
23       ·   $markup (string)
24
25   widget = Gtk2::CellView->new_with_pixbuf ($pixbuf)
26       ·   $pixbuf (Gtk2::Gdk::Pixbuf)
27
28   widget = Gtk2::CellView->new_with_text ($text)
29       ·   $text (string)
30
31   $cell_view->set_background_color ($color)
32       ·   $color (Gtk2::Gdk::Color)
33
34   list = $cellview->get_cell_renderers
35   treepath = $cell_view->get_displayed_row
36   $cell_view->set_displayed_row ($path)
37       ·   $path (Gtk2::TreePath)
38
39   treemodel or undef = $cellview->get_model
40       Since: gtk+ 2.16
41
42   $cell_view->set_model ($model)
43       ·   $model (Gtk2::TreeModel or undef)
44
45   requisition = $cell_view->get_size_of_row ($path)
46       ·   $path (Gtk2::TreePath)
47

PROPERTIES

49       'background' (string : default undef : writable / private)
50           Background color as a string
51
52       'background-gdk' (Gtk2::Gdk::Color : default undef : readable /
53       writable / private)
54           Background color as a GdkColor
55
56       'background-set' (boolean : default false : readable / writable /
57       private)
58           Whether this tag affects the background color
59
60       'model' (Gtk2::TreeModel : default undef : readable / writable /
61       private)
62           The model for cell view
63

SEE ALSO

65       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget
66
68       Copyright (C) 2003-2011 by the gtk2-perl team.
69
70       This software is licensed under the LGPL.  See Gtk2 for a full notice.
71
72
73
74perl v5.30.0                      2019-07-26                 Gtk2::CellView(3)
Impressum