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">
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>
28
28
<tr><td colspan="5" class="shortcuts">
117
117
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
119
+----<a class="link" href="IBusObject.html" title="IBusObject">IBusObject</a>
120
+----<a class="link" href="IBusSerializable.html" title="IBusSerializable">IBusSerializable</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>
123
126
<pre class="synopsis">
125
128
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
127
+----<a class="link" href="IBusObject.html" title="IBusObject">IBusObject</a>
128
+----<a class="link" href="IBusSerializable.html" title="IBusSerializable">IBusSerializable</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>
132
138
<div class="refsect1" lang="en">
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>
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>
154
166
<div class="variablelist"><table border="0">
155
167
<col align="left" valign="top">
157
169
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
170
<td> An object which is subject to casting.
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>
180
Casts a derived IBusAttrListClass structure into a IBusAttrListClass structure.</p>
169
183
<div class="variablelist"><table border="0">
170
184
<col align="left" valign="top">
172
186
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
187
<td> A class to be casted.
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>
197
Checks whether a valid GTypeInstance pointer is of type IBUS_ATTR_LIST.</p>
184
200
<div class="variablelist"><table border="0">
185
201
<col align="left" valign="top">
187
203
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
204
<td> Instance to check for being a IBUS_ATTR_LIST.
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>
214
Checks whether class "is a" valid IBusAttrListClass structure of type IBUS_ATTR_LIST or derived.</p>
199
217
<div class="variablelist"><table border="0">
200
218
<col align="left" valign="top">
202
220
<td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
221
<td> A class to be checked.
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>
231
Get the class of a given object and cast the class to IBusAttrListClass.</p>
214
234
<div class="variablelist"><table border="0">
215
235
<col align="left" valign="top">
217
237
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
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;
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>
586
Append an IBusAttribute to IBusAttrList.</p>
612
Append an IBusAttribute to IBusAttrList, and increase reference.</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>
613
Returns IBusAttribute at given index.</p>
639
Returns IBusAttribute at given index. Borrowed reference.</p>
616
642
<div class="variablelist"><table border="0">