annotate console/libgnt/gntstyle.h @ 14240:efc3836b7e8b

[gaim-migrate @ 16922] Update the manual, and add a sample for remapping keys. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 20 Aug 2006 22:47:25 +0000
parents a0b1ab181316
children ea5193c23171
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14004
06f75fb84a78 [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
1 #include "gnt.h"
06f75fb84a78 [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
2
14010
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
3 typedef enum
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
4 {
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
5 GNT_STYLE_SHADOW = 0,
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
6 GNT_STYLES
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
7 } GntStyle;
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
8
14004
06f75fb84a78 [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
9 void gnt_style_read_configure_file(const char *filename);
06f75fb84a78 [gaim-migrate @ 16589]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
diff changeset
10
14010
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
11 /* Returned strings are all lowercase */
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
12 const char *gnt_style_get(GntStyle style);
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
13
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
14 gboolean gnt_style_get_bool(GntStyle style, gboolean def);
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
15
14239
a0b1ab181316 [gaim-migrate @ 16921]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14010
diff changeset
16 /* This should be called only once for the each type */
a0b1ab181316 [gaim-migrate @ 16921]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14010
diff changeset
17 void gnt_styles_get_keyremaps(GType type, GHashTable *hash);
a0b1ab181316 [gaim-migrate @ 16921]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14010
diff changeset
18
14010
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
19 void gnt_init_styles();
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
20
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
21 void gnt_uninit_styles();
7573bd40a190 [gaim-migrate @ 16602]
Sadrul Habib Chowdhury <imadil@gmail.com>
parents: 14004
diff changeset
22