comparison finch/libgnt/gntstyle.h @ 21691:3ed9b027479d

Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
author Richard Nelson <wabz@pidgin.im>
date Fri, 30 Nov 2007 03:17:07 +0000
parents 6de09629f091
children e3e64d1e4869
comparison
equal deleted inserted replaced
21690:33285f8f68ba 21691:3ed9b027479d
63 * @since 2.0.0 (gnt), 2.1.0 (pidgin) 63 * @since 2.0.0 (gnt), 2.1.0 (pidgin)
64 */ 64 */
65 char *gnt_style_get_from_name(const char *group, const char *key); 65 char *gnt_style_get_from_name(const char *group, const char *key);
66 66
67 /** 67 /**
68 * Get the value of a preference in ~/.gntrc.
69 *
70 * @param group The name of the group in the keyfile. If @c NULL, the prgname
71 * will be used first, if available. Otherwise, "general" will be used.
72 * @param key The key
73 * @param length Return location for the number of strings returned, or NULL
74 *
75 * @return NULL terminated string array. The array should be freed with g_strfreev().
76 *
77 * @since 2.3.1 (gnt), 2.3.1 (pidgin)
78 */
79 char **gnt_style_get_string_list(const char *group, const char *key, gsize *length);
80
81 /**
68 * Parse a boolean preference. For example, if 'value' is "false" (ignoring case) 82 * Parse a boolean preference. For example, if 'value' is "false" (ignoring case)
69 * or "0", the return value will be @c FALSE, otherwise @c TRUE. 83 * or "0", the return value will be @c FALSE, otherwise @c TRUE.
70 * 84 *
71 * @param value The value of the boolean setting as a string 85 * @param value The value of the boolean setting as a string
72 * @return The boolean value 86 * @return The boolean value