~joel-auterson/ubuntu/maverick/ibus/newmenuname

« back to all changes in this revision

Viewing changes to docs/reference/ibus/html/IBusAttribute.html

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2009-10-05 20:45:18 UTC
  • mfrom: (1.1.5 upstream) (6.1.15 sid)
  • Revision ID: james.westby@ubuntu.com-20091005204518-069vlwrl3r8v7bbr
Tags: 1.2.0.20090927-2
* create po template when build (LP: #188690)
  - debian/rules: updated.
  - debian/clean: remove pot file when clean.
* debian/control: build depends on python-rsvg (LP: #432375)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>IBusAttribute</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.3">
7
 
<link rel="home" href="index.html" title="iBus Reference Manual">
8
 
<link rel="up" href="ch02.html" title="User Interfaces">
9
 
<link rel="prev" href="ch02.html" title="User Interfaces">
 
7
<link rel="home" href="index.html" title="IBus Reference Manual">
 
8
<link rel="up" href="ch02.html" title="Panel (User Interfaces)">
 
9
<link rel="prev" href="ch02.html" title="Panel (User Interfaces)">
10
10
<link rel="next" href="IBusHotkeyProfile.html" title="IBusHotkeyProfile">
11
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="chapter" href="ch01.html" title="API Overviews">
14
 
<link rel="chapter" href="ch02.html" title="User Interfaces">
 
13
<link rel="chapter" href="ch01.html" title="Overview">
 
14
<link rel="chapter" href="ch02.html" title="Panel (User Interfaces)">
15
15
<link rel="chapter" href="ch03.html" title="Input method engine">
16
 
<link rel="chapter" href="ch04.html" title="Configuration">
17
 
<link rel="chapter" href="ch05.html" title="Others">
 
16
<link rel="chapter" href="ch04.html" title="Communication and Configuration">
 
17
<link rel="chapter" href="ch05.html" title="Internal">
18
18
</head>
19
19
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
20
20
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
22
22
<td><a accesskey="p" href="ch02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
23
23
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
24
24
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
25
 
<th width="100%" align="center">iBus Reference Manual</th>
 
25
<th width="100%" align="center">IBus Reference Manual</th>
26
26
<td><a accesskey="n" href="IBusHotkeyProfile.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
27
27
</tr>
28
28
<tr><td colspan="5" class="shortcuts">
116
116
  <a
117
117
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
118
118
>GObject</a>
119
 
   +----<a class="link" href="IBusObject.html" title="IBusObject">IBusObject</a>
120
 
         +----<a class="link" href="IBusSerializable.html" title="IBusSerializable">IBusSerializable</a>
121
 
               +----IBusAttribute
 
119
   +----<a
 
120
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
 
121
>GInitiallyUnowned</a>
 
122
         +----<a class="link" href="IBusObject.html" title="IBusObject">IBusObject</a>
 
123
               +----<a class="link" href="IBusSerializable.html" title="IBusSerializable">IBusSerializable</a>
 
124
                     +----IBusAttribute
122
125
</pre>
123
126
<pre class="synopsis">
124
127
  <a
125
128
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
126
129
>GObject</a>
127
 
   +----<a class="link" href="IBusObject.html" title="IBusObject">IBusObject</a>
128
 
         +----<a class="link" href="IBusSerializable.html" title="IBusSerializable">IBusSerializable</a>
129
 
               +----IBusAttrList
 
130
   +----<a
 
131
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
 
132
>GInitiallyUnowned</a>
 
133
         +----<a class="link" href="IBusObject.html" title="IBusObject">IBusObject</a>
 
134
               +----<a class="link" href="IBusSerializable.html" title="IBusSerializable">IBusSerializable</a>
 
135
                     +----IBusAttrList
130
136
</pre>
131
137
</div>
132
138
<div class="refsect1" lang="en">
143
149
<a name="IBUS-TYPE-ATTR-LIST--CAPS"></a><h3>IBUS_TYPE_ATTR_LIST</h3>
144
150
<pre class="programlisting">#define             IBUS_TYPE_ATTR_LIST</pre>
145
151
<p>
 
152
Return GType of IBus attribute list.</p>
 
153
<p>
146
154
</p>
147
155
</div>
148
156
<hr>
150
158
<a name="IBUS-ATTR-LIST--CAPS"></a><h3>IBUS_ATTR_LIST()</h3>
151
159
<pre class="programlisting">#define             IBUS_ATTR_LIST(obj)</pre>
152
160
<p>
 
161
Casts an IBUS_ATTR_LIST or derived pointer into a (IBusAttrList*) pointer.
 
162
Depending on the current debugging level, this function may invoke
 
163
certain runtime checks to identify invalid casts.</p>
 
164
<p>
153
165
</p>
154
166
<div class="variablelist"><table border="0">
155
167
<col align="left" valign="top">
156
168
<tbody><tr>
157
169
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
158
 
<td>
 
170
<td> An object which is subject to casting.
159
171
</td>
160
172
</tr></tbody>
161
173
</table></div>
165
177
<a name="IBUS-ATTR-LIST-CLASS--CAPS"></a><h3>IBUS_ATTR_LIST_CLASS()</h3>
166
178
<pre class="programlisting">#define             IBUS_ATTR_LIST_CLASS(klass)</pre>
167
179
<p>
 
180
Casts a derived IBusAttrListClass structure into a IBusAttrListClass structure.</p>
 
181
<p>
168
182
</p>
169
183
<div class="variablelist"><table border="0">
170
184
<col align="left" valign="top">
171
185
<tbody><tr>
172
186
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
173
 
<td>
 
187
<td> A class to be casted.
174
188
</td>
175
189
</tr></tbody>
176
190
</table></div>
180
194
<a name="IBUS-IS-ATTR-LIST--CAPS"></a><h3>IBUS_IS_ATTR_LIST()</h3>
181
195
<pre class="programlisting">#define             IBUS_IS_ATTR_LIST(obj)</pre>
182
196
<p>
 
197
Checks whether a valid GTypeInstance pointer is of type IBUS_ATTR_LIST.</p>
 
198
<p>
183
199
</p>
184
200
<div class="variablelist"><table border="0">
185
201
<col align="left" valign="top">
186
202
<tbody><tr>
187
203
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
188
 
<td>
 
204
<td> Instance to check for being a IBUS_ATTR_LIST.
189
205
</td>
190
206
</tr></tbody>
191
207
</table></div>
195
211
<a name="IBUS-IS-ATTR-LIST-CLASS--CAPS"></a><h3>IBUS_IS_ATTR_LIST_CLASS()</h3>
196
212
<pre class="programlisting">#define             IBUS_IS_ATTR_LIST_CLASS(klass)</pre>
197
213
<p>
 
214
Checks whether class "is a" valid IBusAttrListClass structure of type IBUS_ATTR_LIST or derived.</p>
 
215
<p>
198
216
</p>
199
217
<div class="variablelist"><table border="0">
200
218
<col align="left" valign="top">
201
219
<tbody><tr>
202
220
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
203
 
<td>
 
221
<td> A class to be checked.
204
222
</td>
205
223
</tr></tbody>
206
224
</table></div>
210
228
<a name="IBUS-ATTR-LIST-GET-CLASS--CAPS"></a><h3>IBUS_ATTR_LIST_GET_CLASS()</h3>
211
229
<pre class="programlisting">#define             IBUS_ATTR_LIST_GET_CLASS(obj)</pre>
212
230
<p>
 
231
Get the class of a given object and cast the class to IBusAttrListClass.</p>
 
232
<p>
213
233
</p>
214
234
<div class="variablelist"><table border="0">
215
235
<col align="left" valign="top">
216
236
<tbody><tr>
217
237
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
218
 
<td>
 
238
<td> An object.
219
239
</td>
220
240
</tr></tbody>
221
241
</table></div>
230
250
} IBusAttrType;
231
251
</pre>
232
252
<p>
233
 
Type of IBusText attribute.</p>
 
253
Type enumeration of IBusText attribute.</p>
234
254
<p>
235
255
</p>
236
256
<div class="variablelist"><table border="0">
262
282
    IBUS_ATTR_UNDERLINE_SINGLE  = 1,
263
283
    IBUS_ATTR_UNDERLINE_DOUBLE  = 2,
264
284
    IBUS_ATTR_UNDERLINE_LOW     = 3,
 
285
    IBUS_ATTR_UNDERLINE_ERROR   = 4,
265
286
} IBusAttrUnderline;
266
287
</pre>
267
288
<p>
291
312
<td> Low underline ? <code class="literal">FIXME</code>
292
313
</td>
293
314
</tr>
 
315
<tr>
 
316
<td><p><a name="IBUS-ATTR-UNDERLINE-ERROR--CAPS"></a><span class="term"><code class="literal">IBUS_ATTR_UNDERLINE_ERROR</code></span></p></td>
 
317
<td> Error underline
 
318
</td>
 
319
</tr>
294
320
</tbody>
295
321
</table></div>
296
322
</div>
583
609
<pre class="programlisting">void                ibus_attr_list_append               (<a class="link" href="IBusAttribute.html#IBusAttrList">IBusAttrList</a> *attr_list,
584
610
                                                         <a class="link" href="IBusAttribute.html" title="IBusAttribute">IBusAttribute</a> *attr);</pre>
585
611
<p>
586
 
Append an IBusAttribute to IBusAttrList.</p>
 
612
Append an IBusAttribute to IBusAttrList, and increase reference.</p>
587
613
<p>
588
614
</p>
589
615
<div class="variablelist"><table border="0">
610
636
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
611
637
>guint</a> index);</pre>
612
638
<p>
613
 
Returns IBusAttribute at given index.</p>
 
639
Returns IBusAttribute at given index. Borrowed reference.</p>
614
640
<p>
615
641
</p>
616
642
<div class="variablelist"><table border="0">