~ubuntu-branches/ubuntu/utopic/rhythmbox/utopic-proposed

« back to all changes in this revision

Viewing changes to doc/reference/xml/rb-cell-renderer-pixbuf.xml

Tags: upstream-0.9.2
ImportĀ upstreamĀ versionĀ 0.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
 
3
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
 
4
<refentry id="rhythmbox-RBCellRendererPixbuf">
 
5
<refmeta>
 
6
<refentrytitle>RBCellRendererPixbuf</refentrytitle>
 
7
<manvolnum>3</manvolnum>
 
8
<refmiscinfo>RHYTHMBOX Library</refmiscinfo>
 
9
</refmeta>
 
10
 
 
11
<refnamediv>
 
12
<refname>RBCellRendererPixbuf</refname><refpurpose></refpurpose>
 
13
</refnamediv>
 
14
 
 
15
<refsynopsisdiv><title>Synopsis</title>
 
16
 
 
17
<synopsis>
 
18
 
 
19
 
 
20
 
 
21
<link linkend="GtkCellRenderer">GtkCellRenderer</link>* <link linkend="rb-cell-renderer-pixbuf-new">rb_cell_renderer_pixbuf_new</link>
 
22
                                            (void);
 
23
 
 
24
</synopsis>
 
25
</refsynopsisdiv>
 
26
 
 
27
 
 
28
 
 
29
 
 
30
 
 
31
 
 
32
 
 
33
 
 
34
 
 
35
<refsect1>
 
36
<title>Description</title>
 
37
<para>
 
38
 
 
39
</para>
 
40
</refsect1>
 
41
 
 
42
<refsect1>
 
43
<title>Details</title>
 
44
<refsect2>
 
45
<title><anchor id="rb-cell-renderer-pixbuf-new"/>rb_cell_renderer_pixbuf_new ()</title>
 
46
<indexterm><primary>rb_cell_renderer_pixbuf_new</primary></indexterm><programlisting><link linkend="GtkCellRenderer">GtkCellRenderer</link>* rb_cell_renderer_pixbuf_new
 
47
                                            (void);</programlisting>
 
48
<para>
 
49
Creates a new <link linkend="RBCellRendererPixbuf"><type>RBCellRendererPixbuf</type></link>. Adjust rendering
 
50
parameters using object properties. Object properties can be set
 
51
globally (with <link linkend="g-object-set"><function>g_object_set()</function></link>). Also, with <link linkend="RBTreeViewColumn"><type>RBTreeViewColumn</type></link>, you
 
52
can bind a property to a value in a <link linkend="RBTreeModel"><type>RBTreeModel</type></link>. For example, you
 
53
can bind the "pixbuf" property on the cell renderer to a pixbuf value
 
54
in the model, thus rendering a different image in each row of the
 
55
<link linkend="RBTreeView"><type>RBTreeView</type></link>.</para>
 
56
<para>
 
57
 
 
58
</para><variablelist role="params">
 
59
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the new cell renderer
 
60
</simpara></listitem></varlistentry>
 
61
</variablelist></refsect2>
 
62
 
 
63
</refsect1>
 
64
 
 
65
 
 
66
 
 
67
 
 
68
</refentry>