finch/libgnt/gntstyle.h

Sun, 02 Feb 2014 23:11:11 +0530

author
Ankit Vani <a@nevitus.org>
date
Sun, 02 Feb 2014 23:11:11 +0530
branch
gtkdoc-conversion
changeset 35423
a453e49dc579
parent 35409
2c495383415e
child 35446
c0f80955551d
child 37051
f1ba94fd20f1
permissions
-rw-r--r--

Fix some gtk-doc warnings in finch

18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
1 /**
18358
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18132
diff changeset
2 * @file gntstyle.h Style API
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18132
diff changeset
3 * @ingroup gnt
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18132
diff changeset
4 */
2122fd567315 Generate doxy-help files for libgnt. And make it actually work.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18132
diff changeset
5 /*
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
6 * GNT - The GLib Ncurses Toolkit
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 * 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
9 * 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
10 * source distribution.
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
11 *
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
12 * 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
13 * 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
14 * 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
15 * (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
16 *
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
17 * 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
18 * 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
19 * 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
20 * 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
21 *
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
22 * 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
23 * 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
24 * 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
25 */
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
26
14066
3a97522e09ee [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
27 #include "gnt.h"
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 15886
diff changeset
28 #include "gntwm.h"
14066
3a97522e09ee [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
29
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
30 typedef enum
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
31 {
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
32 GNT_STYLE_SHADOW = 0,
14361
4d6014205744 [gaim-migrate @ 16989]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14301
diff changeset
33 GNT_STYLE_COLOR = 1,
14372
61f53bc11687 [gaim-migrate @ 17000]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14361
diff changeset
34 GNT_STYLE_MOUSE = 2,
14397
e53755c4dcab [gaim-migrate @ 17031]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14372
diff changeset
35 GNT_STYLE_WM = 3,
15129
4722d1cf7938 [gaim-migrate @ 17851]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14962
diff changeset
36 GNT_STYLE_REMPOS = 4,
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
37 GNT_STYLES
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
38 } GntStyle;
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
39
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
40 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
41 * 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
42 * @filename: The filename to read configuration from.
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
43 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
44 * 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
45 */
14066
3a97522e09ee [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
46 void gnt_style_read_configure_file(const char *filename);
3a97522e09ee [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff changeset
47
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
48 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
49 * 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
50 * @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
51 *
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
52 * 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
53 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
54 * Returns: The user-setting, or %NULL.
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
55 */
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
56 const char *gnt_style_get(GntStyle style);
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
57
18758
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
58 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
59 * gnt_style_get_from_name:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
60 * @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
61 * 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
62 * @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
63 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
64 * 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
65 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
66 * 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
67 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
68 * 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
69 */
18370
1f3c329fe2b2 Plug a memory leak.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18361
diff changeset
70 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
71
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
72 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
73 * gnt_style_get_string_list:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
74 * @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
75 * 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
76 * @key: The key
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
77 * @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
78 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
79 * 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
80 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
81 * 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
82 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
83 * 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
84 */
931ef2cc7cfb Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
Richard Nelson <wabz@pidgin.im>
parents: 21453
diff changeset
85 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
86
931ef2cc7cfb Add support for colour in gnttreerows, and colourise the blist. Fixes #1490
Richard Nelson <wabz@pidgin.im>
parents: 21453
diff changeset
87 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
88 * gnt_style_get_color:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
89 * @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
90 * 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
91 * @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
92 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
93 * 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
94 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
95 * 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
96 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
97 * 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
98 */
fc93ce6595e4 Add color to the conversation window to indicate various message attributes
Richard Nelson <wabz@pidgin.im>
parents: 21804
diff changeset
99 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
100
fc93ce6595e4 Add color to the conversation window to indicate various message attributes
Richard Nelson <wabz@pidgin.im>
parents: 21804
diff changeset
101 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
102 * 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
103 * @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
104 *
18758
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
105 * 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
106 * 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
107 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
108 * Returns: The boolean value
20939
13dd02add7c1 Add @since doxygen tags for finch/libgnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
109 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
110 * 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
111 */
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
112 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
113
57ca4b456815 Allow one-line high buttons. Specify 'small-button = true' under 'general',
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18370
diff changeset
114 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
115 * gnt_style_get_bool:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
116 * @style: The style.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
117 * @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
118 * any value)
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
119 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
120 * 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
121 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
122 * 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
123 */
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
124 gboolean gnt_style_get_bool(GntStyle style, gboolean def);
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
125
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
126 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
127 * 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
128 *
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
129 * @internal
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
130 */
14301
b47bf28806d1 [gaim-migrate @ 16921]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14072
diff changeset
131 void gnt_styles_get_keyremaps(GType type, GHashTable *hash);
b47bf28806d1 [gaim-migrate @ 16921]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14072
diff changeset
132
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
133 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
134 * 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
135 *
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
136 * @internal
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
137 */
14962
abfaa2e03ac7 [gaim-migrate @ 17672]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14897
diff changeset
138 void gnt_style_read_actions(GType type, GntBindableClass *klass);
14897
0daa699dac9c [gaim-migrate @ 17604]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14397
diff changeset
139
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
140 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
141 * gnt_style_read_menu_accels:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
142 * @name: The name of the window.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
143 * @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
144 *
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
145 * 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
146 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 22015
diff changeset
147 * 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
148 */
51bd63176b50 Allow binding key-shortcuts to menuitems.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 19859
diff changeset
149 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
150
21243
287bfd29dae6 Doxygen for gnt.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21204
diff changeset
151 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
152 * 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
153 *
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
154 * @internal
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
155 * Read workspace information.
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
156 */
16519
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 15886
diff changeset
157 void gnt_style_read_workspaces(GntWM *wm);
9458657f5b99 Initial workspace support. refs #51
Richard Nelson <wabz@pidgin.im>
parents: 15886
diff changeset
158
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
159 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
160 * 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
161 *
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
162 * Initialize style settings.
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
163 */
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
164 void gnt_init_styles(void);
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
165
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
166 /**
35409
2c495383415e Convert docs from doxygen to gtk-doc format for gnt-skel to gntws
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
167 * 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
168 *
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
169 * Uninitialize style settings.
18114
adb3cfadc125 Doxygen skeleton and license info for gnt files.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 18107
diff changeset
170 */
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
171 void gnt_uninit_styles(void);
14072
4e64a4f18686 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 14066
diff changeset
172
21430
6069836ad7a7 applied changes from 3909ebae8691679c60bfa96d20562c60e0999b4a
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 21428
diff changeset
173

mercurial