1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>ExoCellRendererEllipsizedText</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.70.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
7
<link rel="start" href="index.html" title="exo Reference Manual">
8
<link rel="up" href="exo-cell-renderers.html" title="Part IV. Additional cell renderers">
9
<link rel="prev" href="exo-cell-renderers.html" title="Part IV. Additional cell renderers">
8
<link rel="up" href="exo-cell-renderers.html" title="Part IV. Additional cell renderers">
9
<link rel="prev" href="exo-cell-renderers.html" title="Part IV. Additional cell renderers">
10
10
<link rel="next" href="ExoCellRendererIcon.html" title="ExoCellRendererIcon">
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="exo-overview.html" title="Part I. Overview">
14
<link rel="part" href="exo-toolbars.html" title="Part II. Editable Toolbars">
15
<link rel="part" href="exo-widgets.html" title="Part III. Additional widgets">
16
<link rel="part" href="exo-cell-renderers.html" title="Part IV. Additional cell renderers">
17
<link rel="part" href="exo-extensions.html" title="Part V. Extensions to existing frameworks">
18
<link rel="part" href="exo-miscelleanous.html" title="Part VI. Miscelleanous">
19
<link rel="part" href="exo-tools.html" title="Part VII. Tools">
20
<link rel="part" href="exo-deprecated-widgets.html" title="Part VIII. Deprecated widgets">
13
<link rel="part" href="exo-overview.html" title="Part I. Overview">
14
<link rel="part" href="exo-toolbars.html" title="Part II. Editable Toolbars">
15
<link rel="part" href="exo-widgets.html" title="Part III. Additional widgets">
16
<link rel="part" href="exo-cell-renderers.html" title="Part IV. Additional cell renderers">
17
<link rel="part" href="exo-extensions.html" title="Part V. Extensions to existing frameworks">
18
<link rel="part" href="exo-miscelleanous.html" title="Part VI. Miscelleanous">
19
<link rel="part" href="exo-tools.html" title="Part VII. Tools">
20
<link rel="part" href="exo-deprecated-widgets.html" title="Part VIII. Deprecated widgets">
21
21
<link rel="chapter" href="ch01.html" title="Visual Index">
22
22
<link rel="index" href="ix01.html" title="Index">
30
30
<th width="100%" align="center">exo Reference Manual</th>
31
31
<td><a accesskey="n" href="ExoCellRendererIcon.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
33
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2617310" class="shortcut">Top</a>
35
<a href="#id2617440" class="shortcut">Description</a>
37
<a href="#id2617350" class="shortcut">Object Hierarchy</a>
39
<a href="#id2617405" class="shortcut">Properties</a></nobr></td></tr>
33
<tr><td colspan="5" class="shortcuts"><nobr><a href="#ExoCellRendererEllipsizedText.synopsis" class="shortcut">Top</a>
35
<a href="#ExoCellRendererEllipsizedText.description" class="shortcut">Description</a>
37
<a href="#ExoCellRendererEllipsizedText.object-hierarchy" class="shortcut">Object Hierarchy</a>
39
<a href="#ExoCellRendererEllipsizedText.properties" class="shortcut">Properties</a></nobr></td></tr>
41
41
<div class="refentry" lang="en">
42
42
<a name="ExoCellRendererEllipsizedText"></a><div class="titlepage"></div>
43
43
<div class="refnamediv"><table width="100%"><tr>
46
<a name="id2617310"></a><span class="refentrytitle">ExoCellRendererEllipsizedText</span>
48
<p>ExoCellRendererEllipsizedText — Renders text in a cell</p>
45
<h2><span class="refentrytitle"><a name="ExoCellRendererEllipsizedText.top_of_page"></a>ExoCellRendererEllipsizedText</span></h2>
46
<p>ExoCellRendererEllipsizedText — Renders text in a cell</p>
50
48
<td valign="top" align="right"></td>
51
49
</tr></table></div>
52
50
<div class="refsynopsisdiv">
51
<a name="ExoCellRendererEllipsizedText.synopsis"></a><h2>Synopsis</h2>
54
52
<pre class="synopsis">
56
54
#include <exo/exo.h>
59
<a href="ExoCellRendererEllipsizedText.html#ExoCellRendererEllipsizedText-struct">ExoCellRendererEllipsizedText</a>;
56
<a class="link" href="ExoCellRendererEllipsizedText.html#ExoCellRendererEllipsizedText-struct" title="ExoCellRendererEllipsizedText">ExoCellRendererEllipsizedText</a>;
61
href="../gtk/GtkCellRenderer.html"
62
>GtkCellRenderer</a>* <a href="ExoCellRendererEllipsizedText.html#exo-cell-renderer-ellipsized-text-new">exo_cell_renderer_ellipsized_text_new</a>
58
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
59
>GtkCellRenderer</a>* <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>
68
63
<div class="refsect1" lang="en">
69
<a name="id2617350"></a><h2>Object Hierarchy</h2>
64
<a name="ExoCellRendererEllipsizedText.object-hierarchy"></a><h2>Object Hierarchy</h2>
70
65
<pre class="synopsis">
73
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
67
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
76
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
70
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
77
71
>GInitiallyUnowned</a>
79
href="../gtk/GtkObject.html"
73
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
82
href="../gtk/GtkCellRenderer.html"
76
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
83
77
>GtkCellRenderer</a>
85
href="../gtk/GtkCellRendererText.html"
79
href="/usr/share/gtk-doc/html/gtk/GtkCellRendererText.html"
86
80
>GtkCellRendererText</a>
87
81
+----ExoCellRendererEllipsizedText
90
84
<div class="refsect1" lang="en">
91
<a name="id2617405"></a><h2>Properties</h2>
85
<a name="ExoCellRendererEllipsizedText.properties"></a><h2>Properties</h2>
92
86
<pre class="synopsis">
94
"<a href="ExoCellRendererEllipsizedText.html#ExoCellRendererEllipsizedText--follow-state">follow-state</a>" <a
95
href="../glib/glib-Basic-Types.html#gboolean"
87
"<a class="link" href="ExoCellRendererEllipsizedText.html#ExoCellRendererEllipsizedText--follow-state" title='The "follow-state" property'>follow-state</a>" <a
88
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
96
89
>gboolean</a> : Read / Write
99
92
<div class="refsect1" lang="en">
100
<a name="id2617440"></a><h2>Description</h2>
93
<a name="ExoCellRendererEllipsizedText.description"></a><h2>Description</h2>
102
The <a href="ExoCellRendererEllipsizedText.html" title="ExoCellRendererEllipsizedText"><span class="type">ExoCellRendererEllipsizedText</span></a> renders a given text in its cell, using the font, color and
95
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
103
96
style information provided by its properties (which are actually inherited from <a
104
href="../gtk/GtkCellRendererText.html"
97
href="/usr/share/gtk-doc/html/gtk/GtkCellRendererText.html"
105
98
><span class="type">GtkCellRendererText</span></a>).
108
Despite the rather confusing name of this class, it is mainly useful to render text in an <a href="ExoIconView.html" title="ExoIconView"><span class="type">ExoIconView</span></a>
101
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>
110
href="../gtk/GtkIconView.html"
103
href="/usr/share/gtk-doc/html/gtk/GtkIconView.html"
111
104
><span class="type">GtkIconView</span></a>), which require the renderers to actually draw the state indicators. State indicators
112
will be drawn only if the <a href="ExoCellRendererEllipsizedText.html#ExoCellRendererEllipsizedText--follow-state">follow-state</a>
105
will be drawn only if the <a class="link" href="ExoCellRendererEllipsizedText.html#ExoCellRendererEllipsizedText--follow-state" title='The "follow-state" property'>follow-state</a>
114
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
107
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
115
108
><code class="literal">TRUE</code></a>.
118
111
<div class="refsect1" lang="en">
119
<a name="id2617515"></a><h2>Details</h2>
112
<a name="ExoCellRendererEllipsizedText.details"></a><h2>Details</h2>
120
113
<div class="refsect2" lang="en">
121
<a name="id2617526"></a><h3>
122
<a name="ExoCellRendererEllipsizedText-struct"></a>ExoCellRendererEllipsizedText</h3>
123
<a class="indexterm" name="id2617540"></a><pre class="programlisting">typedef struct _ExoCellRendererEllipsizedText ExoCellRendererEllipsizedText;</pre>
114
<a name="ExoCellRendererEllipsizedText-struct"></a><h3>ExoCellRendererEllipsizedText</h3>
115
<pre class="programlisting">typedef struct _ExoCellRendererEllipsizedText ExoCellRendererEllipsizedText;</pre>
125
117
The <span class="structname">ExoIconCellRendererEllipsizedText</span> struct contains only private fields and should not be directly accessed.
129
121
<div class="refsect2" lang="en">
130
<a name="id2617561"></a><h3>
131
<a name="exo-cell-renderer-ellipsized-text-new"></a>exo_cell_renderer_ellipsized_text_new ()</h3>
132
<a class="indexterm" name="id2617574"></a><pre class="programlisting"><a
133
href="../gtk/GtkCellRenderer.html"
122
<a name="exo-cell-renderer-ellipsized-text-new"></a><h3>exo_cell_renderer_ellipsized_text_new ()</h3>
123
<pre class="programlisting"><a
124
href="/usr/share/gtk-doc/html/gtk/GtkCellRenderer.html"
134
125
>GtkCellRenderer</a>* exo_cell_renderer_ellipsized_text_new
137
Creates a new <a href="ExoCellRendererEllipsizedText.html" title="ExoCellRendererEllipsizedText"><span class="type">ExoCellRendererEllipsizedText</span></a>. Adjust rendering parameters using gobject properties,
128
Creates a new <a class="link" href="ExoCellRendererEllipsizedText.html" title="ExoCellRendererEllipsizedText"><span class="type">ExoCellRendererEllipsizedText</span></a>. Adjust rendering parameters using gobject properties,
138
129
which can be set globally via <a
139
href="../gobject/gobject-The-Base-Object-Type.html#g-object-set"
130
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set"
140
131
><code class="function">g_object_set()</code></a>. Also, with <a
141
href="../gtk/GtkCellLayout.html"
132
href="/usr/share/gtk-doc/html/gtk/GtkCellLayout.html"
142
133
><span class="type">GtkCellLayout</span></a> and <a
143
href="../gtk/GtkTreeViewColumn.html"
134
href="/usr/share/gtk-doc/html/gtk/GtkTreeViewColumn.html"
144
135
><span class="type">GtkTreeViewColumn</span></a>, you
145
136
can bind a property to a value in a <a
146
href="../gtk/GtkTreeModel.html"
137
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
147
138
><span class="type">GtkTreeModel</span></a>.</p>
151
142
<div class="variablelist"><table border="0">
152
143
<col align="left" valign="top">
154
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
155
<td> the newly allocated <a href="ExoCellRendererEllipsizedText.html" title="ExoCellRendererEllipsizedText"><span class="type">ExoCellRendererEllipsizedText</span></a>.
145
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
146
<td> the newly allocated <a class="link" href="ExoCellRendererEllipsizedText.html" title="ExoCellRendererEllipsizedText"><span class="type">ExoCellRendererEllipsizedText</span></a>.
161
152
<div class="refsect1" lang="en">
162
<a name="id2617675"></a><h2>Property Details</h2>
153
<a name="ExoCellRendererEllipsizedText.property-details"></a><h2>Property Details</h2>
163
154
<div class="refsect2" lang="en">
164
<a name="id2617686"></a><h3>
165
<a name="ExoCellRendererEllipsizedText--follow-state"></a>The "<code class="literal">follow-state</code>" property</h3>
166
<a class="indexterm" name="id2617703"></a><pre class="programlisting"> "follow-state" <a
167
href="../glib/glib-Basic-Types.html#gboolean"
155
<a name="ExoCellRendererEllipsizedText--follow-state"></a><h3>The <code class="literal">"follow-state"</code> property</h3>
156
<pre class="programlisting"> "follow-state" <a
157
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
168
158
>gboolean</a> : Read / Write</pre>
170
160
Specifies whether the text renderer should render the text based on
171
the selection state of the items. This is necessary for <a href="ExoIconView.html" title="ExoIconView"><span class="type">ExoIconView</span></a>
161
the selection state of the items. This is necessary for <a class="link" href="ExoIconView.html" title="ExoIconView"><span class="type">ExoIconView</span></a>
172
162
which doesn't draw any item state indicators itself.</p>