File: ExoCellRendererEllipsizedText.html

package info (click to toggle)
exo 0.6.2-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,696 kB
  • sloc: ansic: 22,617; sh: 11,230; makefile: 913; xml: 629; python: 402; perl: 239
file content (138 lines) | stat: -rw-r--r-- 7,804 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ExoCellRendererEllipsizedText</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Exo Reference Manual">
<link rel="up" href="exo-cell-renderers.html" title="Part IV. Additional cell renderers">
<link rel="prev" href="exo-cell-renderers.html" title="Part IV. Additional cell renderers">
<link rel="next" href="ExoCellRendererIcon.html" title="ExoCellRendererIcon">
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="exo-cell-renderers.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="exo-cell-renderers.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Exo Reference Manual</th>
<td><a accesskey="n" href="ExoCellRendererIcon.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#ExoCellRendererEllipsizedText.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#ExoCellRendererEllipsizedText.description" class="shortcut">Description</a>
                   | 
                  <a href="#ExoCellRendererEllipsizedText.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#ExoCellRendererEllipsizedText.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="ExoCellRendererEllipsizedText"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="ExoCellRendererEllipsizedText.top_of_page"></a>ExoCellRendererEllipsizedText</span></h2>
<p>ExoCellRendererEllipsizedText — Renders text in a cell</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="ExoCellRendererEllipsizedText.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;exo/exo.h&gt;

                    <a class="link" href="ExoCellRendererEllipsizedText.html#ExoCellRendererEllipsizedText-struct" title="ExoCellRendererEllipsizedText">ExoCellRendererEllipsizedText</a>;
<span class="returnvalue">GtkCellRenderer</span> *   <a class="link" href="ExoCellRendererEllipsizedText.html#exo-cell-renderer-ellipsized-text-new" title="exo_cell_renderer_ellipsized_text_new ()">exo_cell_renderer_ellipsized_text_new</a>
                                                        (<em class="parameter"><code><span class="type">void</span></code></em>);
</pre>
</div>
<div class="refsect1">
<a name="ExoCellRendererEllipsizedText.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkCellRenderer
                     +----GtkCellRendererText
                           +----ExoCellRendererEllipsizedText
</pre>
</div>
<div class="refsect1">
<a name="ExoCellRendererEllipsizedText.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="ExoCellRendererEllipsizedText.html#ExoCellRendererEllipsizedText--follow-state" title='The "follow-state" property'>follow-state</a>"             <span class="type">gboolean</span>              : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="ExoCellRendererEllipsizedText.description"></a><h2>Description</h2>
<p>
The <a class="link" href="ExoCellRendererEllipsizedText.html" title="ExoCellRendererEllipsizedText"><span class="type">ExoCellRendererEllipsizedText</span></a> renders a given text in its cell,
using the font, color and style information provided by its properties
(which are actually inherited from <span class="type">GtkCellRendererText</span>).
</p>
<p>
Despite the rather confusing name of this class, it is mainly useful
to render text in an <a class="link" href="ExoIconView.html" title="ExoIconView"><span class="type">ExoIconView</span></a> (or a <span class="type">GtkIconView</span>), which require
the renderers to actually draw the state indicators. State indicators
will be drawn only if the
<a class="link" href="ExoCellRendererEllipsizedText.html#ExoCellRendererEllipsizedText--follow-state" title='The "follow-state" property'>follow-state</a>
property is <code class="literal">TRUE</code>.
</p>
</div>
<div class="refsect1">
<a name="ExoCellRendererEllipsizedText.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="ExoCellRendererEllipsizedText-struct"></a><h3>ExoCellRendererEllipsizedText</h3>
<pre class="programlisting">typedef struct _ExoCellRendererEllipsizedText ExoCellRendererEllipsizedText;</pre>
<p>
The <span class="type">ExoIconCellRendererEllipsizedText</span>
struct contains only private fields and should not be directly accessed.
</p>
</div>
<hr>
<div class="refsect2">
<a name="exo-cell-renderer-ellipsized-text-new"></a><h3>exo_cell_renderer_ellipsized_text_new ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkCellRenderer</span> *   exo_cell_renderer_ellipsized_text_new
                                                        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="ExoCellRendererEllipsizedText.html" title="ExoCellRendererEllipsizedText"><span class="type">ExoCellRendererEllipsizedText</span></a>. Adjust rendering parameters using gobject properties,
which can be set globally via <code class="function">g_object_set()</code>. Also, with <span class="type">GtkCellLayout</span> and <span class="type">GtkTreeViewColumn</span>, you
can bind a property to a value in a <span class="type">GtkTreeModel</span>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the newly allocated <a class="link" href="ExoCellRendererEllipsizedText.html" title="ExoCellRendererEllipsizedText"><span class="type">ExoCellRendererEllipsizedText</span></a>.</td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="ExoCellRendererEllipsizedText.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="ExoCellRendererEllipsizedText--follow-state"></a><h3>The <code class="literal">"follow-state"</code> property</h3>
<pre class="programlisting">  "follow-state"             <span class="type">gboolean</span>              : Read / Write</pre>
<p>
Specifies whether the text renderer should render the text based on
the selection state of the items. This is necessary for <a class="link" href="ExoIconView.html" title="ExoIconView"><span class="type">ExoIconView</span></a>
which doesn't draw any item state indicators itself.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 0.3.1.9</p>
</div>
</div>
<div class="refsect1">
<a name="ExoCellRendererEllipsizedText.see-also"></a><h2>See Also</h2>
<a class="ulink" href="http://library.gnome.org/devel/gtk/stable/GtkCellRendererText.html" target="_top">GtkCellRendererText</a>,
           <a class="link" href="ExoIconView.html" title="ExoIconView">ExoIconView</a>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.17</div>
</body>
</html>