annotate src/gtkgaim.h @ 13877:765bbdf29d04

[gaim-migrate @ 16354] Paco-Paco spake unto me the following wisdom: sadrul: your console UI looks for gaim/*.h, but uses pkg-config --cflags gaim, which returns include/gaim I have fixed it by changing the #include-s. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 26 Jun 2006 19:54:53 +0000
parents b4bd3b41bf3b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
1 /**
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
2 * @file gtkgaim.h UI definitions and includes
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
3 * @ingroup gtkui
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
4 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
5 * gaim
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
6 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
7 * Gaim is the legal property of its developers, whose names are too numerous
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
8 * to list here. Please refer to the COPYRIGHT file distributed with this
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
9 * source distribution.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
10 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
11 * This program is free software; you can redistribute it and/or modify
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
12 * it under the terms of the GNU General Public License as published by
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
13 * the Free Software Foundation; either version 2 of the License, or
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
14 * (at your option) any later version.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
15 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
16 * This program is distributed in the hope that it will be useful,
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
19 * GNU General Public License for more details.
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
20 *
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
21 * You should have received a copy of the GNU General Public License
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
22 * along with this program; if not, write to the Free Software
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
24 */
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
25 #ifndef _GAIM_GTKGAIM_H_
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
26 #define _GAIM_GTKGAIM_H_
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
27
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
28 #ifndef _WIN32
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
29 # include <gdk/gdkx.h>
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
30 #endif
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
31
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
32 #include <gtk/gtk.h>
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
33
10400
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
34 /**
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
35 * Our UI's identifier.
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
36 */
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
37 #define GAIM_GTK_UI "gtk-gaim"
6a043ae92db6 [gaim-migrate @ 11631]
Sean Egan <seanegan@gmail.com>
parents: 10062
diff changeset
38
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
39 #ifndef _WIN32
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
40 # define GAIM_ALERT_TITLE ""
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
41 #else
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
42 # define GAIM_ALERT_TITLE "Gaim"
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
43 #endif
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
44
11149
239918d22c5f [gaim-migrate @ 13228]
Gary Kramlich <grim@reaperworld.com>
parents: 11035
diff changeset
45 /*
10062
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
46 * This is backwards-compatibility code for older versions of GTK+ (< 2.4.x)
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
47 * It defines the new wrap behavior (unknown in earlier versions)
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
48 * as the old (slightly buggy) wrap behavior.
11753
59ae71ae0b7c [gaim-migrate @ 14044]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11243
diff changeset
49 * It also includes our back-ported GtkExpander
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
50 */
11149
239918d22c5f [gaim-migrate @ 13228]
Gary Kramlich <grim@reaperworld.com>
parents: 11035
diff changeset
51 /** @cond */
10062
b6178d85d132 [gaim-migrate @ 11037]
Stu Tomlinson <stu@nosnilmot.com>
parents: 9791
diff changeset
52 #if (!GTK_CHECK_VERSION(2,4,0))
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
53 #define GTK_WRAP_WORD_CHAR GTK_WRAP_WORD
11753
59ae71ae0b7c [gaim-migrate @ 14044]
Stu Tomlinson <stu@nosnilmot.com>
parents: 11243
diff changeset
54 #include "gtkexpander.h"
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
55 #endif
11149
239918d22c5f [gaim-migrate @ 13228]
Gary Kramlich <grim@reaperworld.com>
parents: 11035
diff changeset
56 /** @endcond */
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
57
11243
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
58 /*
12086
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
59 * We include the sources for GtkComboBox and GtkCellView because
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
60 * they don't exist in older version of Gtk+, and we use them
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
61 * in a few places.
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
62 */
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
63 #if !GTK_CHECK_VERSION(2,6,0)
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
64 # include "gtkcellview.h"
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
65 # include "gtkcellviewmenuitem.h"
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
66 # if !GTK_CHECK_VERSION(2,4,0)
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
67 # include "gtkcelllayout.h"
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
68 # include "gtkcombobox.h"
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
69 # endif /* Gtk 2.4 */
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
70 #endif /* Gtk 2.6 */
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
71
08be85ee79c0 [gaim-migrate @ 14383]
Mark Doliner <mark@kingant.net>
parents: 11986
diff changeset
72 /*
11243
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
73 * Spacings between components, as defined by the
12709
b4bd3b41bf3b [gaim-migrate @ 15053]
Richard Laager <rlaager@wiktel.com>
parents: 12086
diff changeset
74 * GNOME Human Interface Guidelines.
11243
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
75 */
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
76 #define GAIM_HIG_CAT_SPACE 18
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
77 #define GAIM_HIG_BORDER 12
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
78 #define GAIM_HIG_BOX_SPACE 6
a511b77a368b [gaim-migrate @ 13408]
Mark Doliner <mark@kingant.net>
parents: 11149
diff changeset
79
11986
bfbb1798535e [gaim-migrate @ 14279]
Mark Doliner <mark@kingant.net>
parents: 11753
diff changeset
80 #define GAIM_INVISIBLE_CHAR (gunichar)0x25cf
bfbb1798535e [gaim-migrate @ 14279]
Mark Doliner <mark@kingant.net>
parents: 11753
diff changeset
81
9791
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
82 #endif /* _GAIM_GTKGAIM_H_ */
4a15962c344a [gaim-migrate @ 10659]
Mark Doliner <mark@kingant.net>
parents:
diff changeset
83