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

SEE ALSO

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