finch/libgnt/gntstyle.h

Thu, 06 Feb 2014 20:02:57 +0530

author
Ankit Vani <a@nevitus.org>
date
Thu, 06 Feb 2014 20:02:57 +0530
branch
soc.2013.gobjectification.plugins
changeset 37075
cf3f735b09b7
parent 37064
3373bd0b4ea6
parent 35474
ff5eccb9f797
child 37094
84873ce721dc
permissions
-rw-r--r--

Merge gtkdoc-conversion

18358
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18132
diff changeset
1 /*
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
2 * GNT - The GLib Ncurses Toolkit
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
3 *
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
4 * GNT is the legal property of its developers, whose names are too numerous
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
5 * to list here. Please refer to the COPYRIGHT file distributed with this
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
6 * source distribution.
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
7 *
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
8 * This library is free software; you can redistribute it and/or modify
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
9 * it under the terms of the GNU General Public License as published by
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
11 * (at your option) any later version.
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
12 *
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
13 * This program is distributed in the hope that it will be useful,
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
16 * GNU General Public License for more details.
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
17 *
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
18 * You should have received a copy of the GNU General Public License
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
19 * along with this program; if not, write to the Free Software
19859
71d37b57eff2 The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 18758
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
21 */
35446
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
22 /**
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
23 * SECTION:gntstyle
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
24 * @section_id: libgnt-gntstyle
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
25 * @short_description: <filename>gntstyle.h</filename>
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
26 * @title: Style API
c0f80955551d Add sections for libgnt and re-arrange GNT doc index
Ankit Vani <a@nevitus.org>
parents: 35409
diff changeset
27 */
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
28
14066
3a97522e09ee [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
29 #include "gnt.h"
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 15886
diff changeset
30 #include "gntwm.h"
14066
3a97522e09ee [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
31
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
32 typedef enum
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
33 {
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
34 GNT_STYLE_SHADOW = 0,
14361
4d6014205744 [gaim-migrate @ 16989]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14301
diff changeset
35 GNT_STYLE_COLOR = 1,
14372
61f53bc11687 [gaim-migrate @ 17000]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14361
diff changeset
36 GNT_STYLE_MOUSE = 2,
14397
e53755c4dcab [gaim-migrate @ 17031]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14372
diff changeset
37 GNT_STYLE_WM = 3,
15129
4722d1cf7938 [gaim-migrate @ 17851]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14962
diff changeset
38 GNT_STYLE_REMPOS = 4,
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
39 GNT_STYLES
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
40 } GntStyle;
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
41
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
42 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
43 * gnt_style_read_configure_file:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
44 * @filename: The filename to read configuration from.
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
45 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
46 * Read configuration from a file.
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
47 */
14066
3a97522e09ee [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
48 void gnt_style_read_configure_file(const char *filename);
3a97522e09ee [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
49
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
50 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
51 * gnt_style_get:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
52 * @style: The style.
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
53 *
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
54 * Get the user-setting for a style.
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
55 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
56 * Returns: The user-setting, or %NULL.
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
57 */
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
58 const char *gnt_style_get(GntStyle style);
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
59
18758
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
60 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
61 * gnt_style_get_from_name:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
62 * @group: The name of the group in the keyfile. If %NULL, the prgname
18758
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
63 * will be used first, if available. Otherwise, "general" will be used.
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
64 * @key: The key
18758
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
65 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
66 * Get the value of a preference in ~/.gntrc.
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
67 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
68 * Returns: The value of the setting as a string, or %NULL
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
69 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
70 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
18758
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
71 */
18370
1f3c329fe2b2 Plug a memory leak.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18361
diff changeset
72 char *gnt_style_get_from_name(const char *group, const char *key);
18107
080301575c86 Update the irssi WM to allow tiling the conversation windows.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 15886
diff changeset
73
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
74 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
75 * gnt_style_get_string_list:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
76 * @group: The name of the group in the keyfile. If %NULL, the prgname
21804
931ef2cc7cfb Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
Richard Nelson <wabz@pidgin.im>
parents: 21453
diff changeset
77 * will be used first, if available. Otherwise, "general" will be used.
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
78 * @key: The key
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
79 * @length: Return location for the number of strings returned, or NULL
21804
931ef2cc7cfb Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
Richard Nelson <wabz@pidgin.im>
parents: 21453
diff changeset
80 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
81 * Get the value of a preference in ~/.gntrc.
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
82 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
83 * Returns: NULL terminated string array. The array should be freed with g_strfreev().
21804
931ef2cc7cfb Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
Richard Nelson <wabz@pidgin.im>
parents: 21453
diff changeset
84 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
85 * Since: 2.4.0
21804
931ef2cc7cfb Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
Richard Nelson <wabz@pidgin.im>
parents: 21453
diff changeset
86 */
931ef2cc7cfb Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
Richard Nelson <wabz@pidgin.im>
parents: 21453
diff changeset
87 char **gnt_style_get_string_list(const char *group, const char *key, gsize *length);
931ef2cc7cfb Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
Richard Nelson <wabz@pidgin.im>
parents: 21453
diff changeset
88
931ef2cc7cfb Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
Richard Nelson <wabz@pidgin.im>
parents: 21453
diff changeset
89 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
90 * gnt_style_get_color:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
91 * @group: The name of the group in the keyfile. If %NULL, the prgname
21855
fc93ce6595e4 Add color to the conversation window to indicate various message attributes
Richard Nelson <wabz@pidgin.im>
parents: 21804
diff changeset
92 * will be used first, if available. Otherwise, "general" will be used.
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
93 * @key: The key
21855
fc93ce6595e4 Add color to the conversation window to indicate various message attributes
Richard Nelson <wabz@pidgin.im>
parents: 21804
diff changeset
94 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
95 * Get the value of a color pair in ~/.gntrc.
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
96 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
97 * Returns: The value of the color as an int, or 0 on error.
21855
fc93ce6595e4 Add color to the conversation window to indicate various message attributes
Richard Nelson <wabz@pidgin.im>
parents: 21804
diff changeset
98 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
99 * Since: 2.4.0
21855
fc93ce6595e4 Add color to the conversation window to indicate various message attributes
Richard Nelson <wabz@pidgin.im>
parents: 21804
diff changeset
100 */
fc93ce6595e4 Add color to the conversation window to indicate various message attributes
Richard Nelson <wabz@pidgin.im>
parents: 21804
diff changeset
101 int gnt_style_get_color(char *group, char *key);
fc93ce6595e4 Add color to the conversation window to indicate various message attributes
Richard Nelson <wabz@pidgin.im>
parents: 21804
diff changeset
102
fc93ce6595e4 Add color to the conversation window to indicate various message attributes
Richard Nelson <wabz@pidgin.im>
parents: 21804
diff changeset
103 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
104 * gnt_style_parse_bool:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
105 * @value: The value of the boolean setting as a string
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
106 *
18758
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
107 * Parse a boolean preference. For example, if 'value' is "false" (ignoring case)
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
108 * or "0", the return value will be %FALSE, otherwise %TRUE.
18758
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
109 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
110 * Returns: The boolean value
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
111 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
112 * Since: 2.0.0 (gnt), 2.1.0 (pidgin)
18758
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
113 */
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
114 gboolean gnt_style_parse_bool(const char *value);
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
115
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
116 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
117 * gnt_style_get_bool:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
118 * @style: The style.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
119 * @def: The default value (i.e, the value if the user didn't define
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
120 * any value)
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
121 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
122 * Get the boolean value for a user-setting.
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
123 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
124 * Returns: The value of the setting.
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
125 */
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
126 gboolean gnt_style_get_bool(GntStyle style, gboolean def);
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
127
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
128 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
129 * gnt_styles_get_keyremaps:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
130 *
35474
ff5eccb9f797 Remove @internal
Ankit Vani <a@nevitus.org>
parents: 35446
diff changeset
131 * Internal function -- do not use.
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
132 */
14301
b47bf28806d1 [gaim-migrate @ 16921]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14072
diff changeset
133 void gnt_styles_get_keyremaps(GType type, GHashTable *hash);
b47bf28806d1 [gaim-migrate @ 16921]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14072
diff changeset
134
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
135 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
136 * gnt_style_read_actions:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
137 *
35474
ff5eccb9f797 Remove @internal
Ankit Vani <a@nevitus.org>
parents: 35446
diff changeset
138 * Internal function -- do not use.
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
139 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14897
diff changeset
140 void gnt_style_read_actions(GType type, GntBindableClass *klass);
14897
0daa699dac9c [gaim-migrate @ 17604]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
141
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
142 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
143 * gnt_style_read_menu_accels:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
144 * @name: The name of the window.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
145 * @table: The hastable to store the accel information.
20821
51bd63176b50 Allow binding key-shortcuts to menuitems.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
146 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
147 * Read menu-accels from ~/.gntrc
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
148 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
149 * Returns: %TRUE if some accels were read, %FALSE otherwise.
20821
51bd63176b50 Allow binding key-shortcuts to menuitems.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
150 */
51bd63176b50 Allow binding key-shortcuts to menuitems.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
151 gboolean gnt_style_read_menu_accels(const char *name, GHashTable *table);
51bd63176b50 Allow binding key-shortcuts to menuitems.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
152
21243
287bfd29dae6 Doxygen for gnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21204
diff changeset
153 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
154 * gnt_style_read_workspaces:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
155 *
35474
ff5eccb9f797 Remove @internal
Ankit Vani <a@nevitus.org>
parents: 35446
diff changeset
156 * Reads workspace information.
ff5eccb9f797 Remove @internal
Ankit Vani <a@nevitus.org>
parents: 35446
diff changeset
157 *
ff5eccb9f797 Remove @internal
Ankit Vani <a@nevitus.org>
parents: 35446
diff changeset
158 * Internal function -- do not use.
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
159 */
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 15886
diff changeset
160 void gnt_style_read_workspaces(GntWM *wm);
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 15886
diff changeset
161
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
162 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
163 * gnt_init_styles:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
164 *
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
165 * Initialize style settings.
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
166 */
15874
46df7421a1b5 Enable DEBUG_CFLAGS in libgnt and fix up a number of compile warnings and
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15129
diff changeset
167 void gnt_init_styles(void);
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
168
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
169 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
170 * gnt_uninit_styles:
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
171 *
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
172 * Uninitialize style settings.
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
173 */
15874
46df7421a1b5 Enable DEBUG_CFLAGS in libgnt and fix up a number of compile warnings and
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15129
diff changeset
174 void gnt_uninit_styles(void);
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
175
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
176

mercurial