~tcfox54-gmail/ubuntu/precise/rhythmbox/add_quicklist

« back to all changes in this revision

Viewing changes to doc/reference/html/rhythmbox-rb-text-helpers.html

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2012-01-17 16:56:40 UTC
  • mfrom: (1.1.62)
  • Revision ID: package-import@ubuntu.com-20120117165640-pr034mkhmti3efh6
Tags: 2.95-0ubuntu1
* New upstream release:
  - wrong shortcut for Show / Hide the Queue Sidebar (LP: #461279)
* debian/watch:
  - update to latest url    
* debian/patches/00_fix_for_glib_2.32.patch:
  - was taken upstream, removed

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch02.html" title="Lib">
9
9
<link rel="prev" href="rhythmbox-rb-util.html" title="rb-util">
10
10
<link rel="next" href="ch03.html" title="Metadata">
11
 
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
37
37
</tr></table></div>
38
38
<div class="refsynopsisdiv">
39
39
<a name="rhythmbox-rb-text-helpers.synopsis"></a><h2>Synopsis</h2>
40
 
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="rhythmbox-rb-text-helpers.html#rb-text-direction-conflict" title="rb_text_direction_conflict ()">rb_text_direction_conflict</a>          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> dir1</code></em>,
41
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> dir2</code></em>);
42
 
<a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PangoDirection"><span class="returnvalue">PangoDirection</span></a>      <a class="link" href="rhythmbox-rb-text-helpers.html#rb-text-common-direction" title="rb_text_common_direction ()">rb_text_common_direction</a>            (<em class="parameter"><code>const <span class="type">char</span> *first</code></em>,
 
40
<pre class="synopsis"><span class="returnvalue">gboolean</span>            <a class="link" href="rhythmbox-rb-text-helpers.html#rb-text-direction-conflict" title="rb_text_direction_conflict ()">rb_text_direction_conflict</a>          (<em class="parameter"><code><span class="type">PangoDirection</span> dir1</code></em>,
 
41
                                                         <em class="parameter"><code><span class="type">PangoDirection</span> dir2</code></em>);
 
42
<span class="returnvalue">PangoDirection</span>      <a class="link" href="rhythmbox-rb-text-helpers.html#rb-text-common-direction" title="rb_text_common_direction ()">rb_text_common_direction</a>            (<em class="parameter"><code>const <span class="type">char</span> *first</code></em>,
43
43
                                                         <em class="parameter"><code>...</code></em>);
44
 
<span class="returnvalue">char</span> *              <a class="link" href="rhythmbox-rb-text-helpers.html#rb-text-cat" title="rb_text_cat ()">rb_text_cat</a>                         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> base_dir</code></em>,
 
44
<span class="returnvalue">char</span> *              <a class="link" href="rhythmbox-rb-text-helpers.html#rb-text-cat" title="rb_text_cat ()">rb_text_cat</a>                         (<em class="parameter"><code><span class="type">PangoDirection</span> base_dir</code></em>,
45
45
                                                         <em class="parameter"><code>...</code></em>);
46
46
</pre>
47
47
</div>
56
56
<a name="rhythmbox-rb-text-helpers.details"></a><h2>Details</h2>
57
57
<div class="refsect2">
58
58
<a name="rb-text-direction-conflict"></a><h3>rb_text_direction_conflict ()</h3>
59
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            rb_text_direction_conflict          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> dir1</code></em>,
60
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> dir2</code></em>);</pre>
 
59
<pre class="programlisting"><span class="returnvalue">gboolean</span>            rb_text_direction_conflict          (<em class="parameter"><code><span class="type">PangoDirection</span> dir1</code></em>,
 
60
                                                         <em class="parameter"><code><span class="type">PangoDirection</span> dir2</code></em>);</pre>
61
61
<p>
62
62
Direction conflict here means the two directions are defined (non-neutral)
63
63
and they are different.
76
76
<tr>
77
77
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
78
78
<td>
79
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the two directions conflict.</td>
 
79
<code class="literal">TRUE</code> if the two directions conflict.</td>
80
80
</tr>
81
81
</tbody>
82
82
</table></div>
84
84
<hr>
85
85
<div class="refsect2">
86
86
<a name="rb-text-common-direction"></a><h3>rb_text_common_direction ()</h3>
87
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PangoDirection"><span class="returnvalue">PangoDirection</span></a>      rb_text_common_direction            (<em class="parameter"><code>const <span class="type">char</span> *first</code></em>,
 
87
<pre class="programlisting"><span class="returnvalue">PangoDirection</span>      rb_text_common_direction            (<em class="parameter"><code>const <span class="type">char</span> *first</code></em>,
88
88
                                                         <em class="parameter"><code>...</code></em>);</pre>
89
89
<p>
90
90
This functions checks the direction of all given strings and:
91
91
</p>
92
92
<p>
93
 
1. If all strings are direction neutral, returns <a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PANGO-DIRECTION-NEUTRAL:CAPS"><code class="literal">PANGO_DIRECTION_NEUTRAL</code></a>;
94
 
</p>
95
 
<p>
96
 
2. If all strings are either LTR or neutral, returns <a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PANGO-DIRECTION-LTR:CAPS"><code class="literal">PANGO_DIRECTION_LTR</code></a>;
97
 
</p>
98
 
<p>
99
 
3. If all strings are either RTL or neutral, returns <a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PANGO-DIRECTION-RTL:CAPS"><code class="literal">PANGO_DIRECTION_RTL</code></a>;
100
 
</p>
101
 
<p>
102
 
4. If at least one is RTL and one LTR, returns <a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PANGO-DIRECTION-NEUTRAL:CAPS"><code class="literal">PANGO_DIRECTION_NEUTRAL</code></a>.
 
93
1. If all strings are direction neutral, returns <code class="literal">PANGO_DIRECTION_NEUTRAL</code>;
 
94
</p>
 
95
<p>
 
96
2. If all strings are either LTR or neutral, returns <code class="literal">PANGO_DIRECTION_LTR</code>;
 
97
</p>
 
98
<p>
 
99
3. If all strings are either RTL or neutral, returns <code class="literal">PANGO_DIRECTION_RTL</code>;
 
100
</p>
 
101
<p>
 
102
4. If at least one is RTL and one LTR, returns <code class="literal">PANGO_DIRECTION_NEUTRAL</code>.
103
103
</p>
104
104
<p>
105
105
Note: neutral (1) and mixed (4) are two very different situations,
115
115
</tr>
116
116
<tr>
117
117
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
118
 
<td>rest of strings, terminated with <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
118
<td>rest of strings, terminated with <code class="literal">NULL</code>
119
119
</td>
120
120
</tr>
121
121
<tr>
128
128
<hr>
129
129
<div class="refsect2">
130
130
<a name="rb-text-cat"></a><h3>rb_text_cat ()</h3>
131
 
<pre class="programlisting"><span class="returnvalue">char</span> *              rb_text_cat                         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Bidirectional-Text.html#PangoDirection"><span class="type">PangoDirection</span></a> base_dir</code></em>,
 
131
<pre class="programlisting"><span class="returnvalue">char</span> *              rb_text_cat                         (<em class="parameter"><code><span class="type">PangoDirection</span> base_dir</code></em>,
132
132
                                                         <em class="parameter"><code>...</code></em>);</pre>
133
133
<p>
134
134
This function concatenates strings to a single string, preserving
139
139
It is called like this:
140
140
</p>
141
141
<p>
142
 
s = rb_text_cat(base_dir, str1, format1, ..., strN, formatN, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)
 
142
s = rb_text_cat(base_dir, str1, format1, ..., strN, formatN, <code class="literal">NULL</code>)
143
143
</p>
144
144
<p>
145
145
Format is a printf format with exactly one %s. "%s" or "" will
182
182
</tr>
183
183
<tr>
184
184
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
185
 
<td>pairs of strings (content, format) terminated with <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
 
185
<td>pairs of strings (content, format) terminated with <code class="literal">NULL</code>.</td>
186
186
</tr>
187
187
<tr>
188
188
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
195
195
</div>
196
196
<div class="footer">
197
197
<hr>
198
 
          Generated by GTK-Doc V1.18.1</div>
 
198
          Generated by GTK-Doc V1.18</div>
199
199
</body>
200
200
</html>
 
 
b'\\ No newline at end of file'