comparison src/gtkutils.h @ 12067:e859c1663a27

[gaim-migrate @ 14362] Revert GtkSpell dynamic loading. A GtkSpell plugin is a better idea, and nosnilmot says he has one that's close to fully functional. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 13 Nov 2005 01:44:11 +0000
parents 29dc8fc0dd6c
children 3b52d94437f3
comparison
equal deleted inserted replaced
12066:ee8312c764b1 12067:e859c1663a27
257 * @return TRUE if given path is a directory, FALSE otherwise. 257 * @return TRUE if given path is a directory, FALSE otherwise.
258 */ 258 */
259 gboolean gaim_gtk_check_if_dir(const char *path, GtkFileSelection *filesel); 259 gboolean gaim_gtk_check_if_dir(const char *path, GtkFileSelection *filesel);
260 260
261 /** 261 /**
262 * Returns @c TRUE if Gaim was compiled with GtkSpell support and the
263 * library is available at runtime.
264 */
265 gboolean gaim_gtk_gtkspell_is_available();
266
267 /**
268 * Sets up GtkSpell for the given GtkTextView, reporting errors 262 * Sets up GtkSpell for the given GtkTextView, reporting errors
269 * if encountered. 263 * if encountered.
270 * 264 *
271 * This does nothing if Gaim is not compiled with GtkSpell support, or 265 * This does nothing if Gaim is not compiled with GtkSpell support.
272 * the GtkSpell library cannot be located at runtime.
273 * 266 *
274 * @param textview The textview widget to setup spellchecking for. 267 * @param textview The textview widget to setup spellchecking for.
275 */ 268 */
276 void gaim_gtk_gtkspell_setup(GtkTextView *textview); 269 void gaim_gtk_setup_gtkspell(GtkTextView *textview);
277
278 /**
279 * Does the inverse of gaim_gtk_setup_gtkspell, detaching the spelling
280 * checker from the text view widget.
281 *
282 * This does nothing if Gaim is not compiled with GtkSpell support, or
283 * the GtkSpell library cannot be located at runtime.
284 *
285 * @param textview The textview widget to unsetup spellchecking for.
286 */
287 void gaim_gtk_gtkspell_unsetup(GtkTextView *textview);
288 270
289 /** 271 /**
290 * Stylizes the specified text using HTML, according to the current 272 * Stylizes the specified text using HTML, according to the current
291 * font options. 273 * font options.
292 * 274 *