~ubuntu-branches/ubuntu/quantal/ibus/quantal

« back to all changes in this revision

Viewing changes to src/ibustext.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry Warsaw
  • Date: 2011-08-11 17:00:57 UTC
  • mfrom: (6.2.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110811170057-6dmbfs4s3cchzl7x
Tags: 1.3.99.20110419-1ubuntu1
* Merge with Debian unstable.  Remaining Ubuntu changes:
  - Indicator support:
    + Add 05_appindicator.patch: Use an indicator rather than a notification
      icon.
    + debian/control: Recommend python-appindicator.
  - debian/control: Install im-switch instead of im-config by default.
  - debian/README.source: Removed, it was outdated and no longer correct
  - debian/patches/01_ubuntu_desktop: Fix "Desktop entry needs the
    X-Ubuntu-Gettext-Domain key"  (LP: #457632)
  - debian/patches/02_title_update.patch: Rename "IBus Preferences" to
    "Keyboard Input Methods"
  - debian/patches/06_locale_parser.patch: Cherry-picked from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
20
 * Boston, MA 02111-1307, USA.
21
21
 */
 
22
 
 
23
#if !defined (__IBUS_H_INSIDE__) && !defined (IBUS_COMPILATION)
 
24
#error "Only <ibus.h> can be included directly"
 
25
#endif
 
26
 
22
27
/**
23
28
 * SECTION: ibustext
24
29
 * @short_description: Text with decorating information.
105
110
IBusText        *ibus_text_new_from_ucs4            (const gunichar *str);
106
111
 
107
112
/**
108
 
 * ibus_text_new_from_static_string:
 
113
 * ibus_text_new_from_static_string: (skip)
109
114
 * @str: An text string to be set.
110
115
 * @returns: A newly allocated IBusText.
111
116
 *
164
169
 */
165
170
guint            ibus_text_get_length               (IBusText       *text);
166
171
 
 
172
/**
 
173
 * ibus_text_get_is_static: (skip)
 
174
 * @text: An IBusText.
 
175
 * @returns: the is_static in @text.
 
176
 *
 
177
 * Return the is_static in an IBusText.
 
178
 */
 
179
gboolean         ibus_text_get_is_static            (IBusText       *text);
 
180
 
 
181
/**
 
182
 * ibus_text_get_text:
 
183
 * @text: An IBusText.
 
184
 * @returns: the text in @text.
 
185
 *
 
186
 * Return the text in an IBusText. Should not be freed.
 
187
 */
 
188
const gchar *    ibus_text_get_text                 (IBusText       *text);
 
189
 
 
190
/**
 
191
 * ibus_text_get_attributes:
 
192
 * @text: An IBusText.
 
193
 * @returns: the attrs in @text.
 
194
 *
 
195
 * Return the attributes in an IBusText. Should not be freed.
 
196
 */
 
197
const IBusAttrList *
 
198
                 ibus_text_get_attributes           (IBusText       *text);
167
199
G_END_DECLS
168
200
#endif
169
201