Mercurial > pidgin
annotate src/gtkimhtmltoolbar.h @ 8622:ffed55cbdd67
[gaim-migrate @ 9373]
Any objections to this?
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Fri, 09 Apr 2004 02:49:30 +0000 |
| parents | 2e18099ded93 |
| children | db62420a53a2 |
| rev | line source |
|---|---|
| 8317 | 1 /* |
| 2 * GtkIMHtmlToolbar | |
| 3 * | |
| 4 * Gaim is the legal property of its developers, whose names are too numerous | |
| 5 * to list here. Please refer to the COPYRIGHT file distributed with this | |
| 6 * source distribution. | |
| 7 * | |
| 8 * This program is free software; you can redistribute it and/or modify | |
| 9 * under the terms of the GNU General Public License as published by | |
| 10 * the Free Software Foundation; either version 2 of the License, or | |
| 11 * (at your option) any later version. | |
| 12 * | |
| 13 * This program is distributed in the hope that it will be useful, | |
| 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 16 * GNU General Public License for more details. | |
| 17 * | |
| 18 * You should have received a copy of the GNU General Public License | |
| 19 * along with this program; if not, write to the Free Software | |
| 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 * | |
| 22 */ | |
| 23 | |
| 24 #include <gtk/gtkvbox.h> | |
| 25 #include "gtkimhtml.h" | |
| 26 #ifndef __GTK_IMHTMLTOOLBAR_H | |
| 27 #define __GTK_IMHTMLTOOLBAR_H | |
| 28 | |
| 29 #ifdef __cplusplus | |
| 30 extern "C" { | |
| 31 #endif | |
| 32 | |
| 33 #define GTK_TYPE_IMHTMLTOOLBAR (gtk_imhtmltoolbar_get_type ()) | |
| 34 #define GTK_IMHTMLTOOLBAR(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_IMHTMLTOOLBAR, GtkIMHtmlToolbar)) | |
| 35 #define GTK_IMHTMLTOOLBAR_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_IMHTMLTOOLBAR, GtkIMHtmlToolbarClass)) | |
| 36 #define GTK_IS_IMHTMLTOOLBAR(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_IMHTMLTOOLBAR)) | |
| 37 #define GTK_IS_IMHTMLTOOLBAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IMHTMLTOOLBAR)) | |
| 38 | |
| 39 typedef struct _GtkIMHtmlToolbar GtkIMHtmlToolbar; | |
| 40 typedef struct _GtkIMHtmlToolbarClass GtkIMHtmlToolbarClass; | |
| 41 | |
| 42 struct _GtkIMHtmlToolbar { | |
| 43 GtkVBox box; | |
| 44 | |
| 45 GtkWidget *imhtml; | |
| 46 | |
| 47 GtkTooltips *tooltips; | |
|
8319
a2c5537a814b
[gaim-migrate @ 9043]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
48 |
| 8317 | 49 GtkWidget *bold; |
| 50 GtkWidget *italic; | |
| 51 GtkWidget *underline; | |
|
8319
a2c5537a814b
[gaim-migrate @ 9043]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
52 |
| 8317 | 53 GtkWidget *larger_size; |
| 54 GtkWidget *normal_size; | |
| 55 GtkWidget *smaller_size; | |
| 56 | |
| 57 GtkWidget *font; | |
| 58 GtkWidget *fgcolor; | |
| 59 GtkWidget *bgcolor; | |
| 60 | |
| 61 GtkWidget *image; | |
| 62 GtkWidget *link; | |
| 63 GtkWidget *smiley; | |
| 64 GtkWidget *log; | |
| 65 | |
| 66 GtkWidget *font_dialog; | |
| 67 GtkWidget *fgcolor_dialog; | |
| 68 GtkWidget *bgcolor_dialog; | |
| 69 GtkWidget *link_dialog; | |
| 70 GtkWidget *smiley_dialog; | |
| 71 GtkWidget *image_dialog; | |
| 8427 | 72 |
| 73 char *sml; | |
| 8317 | 74 }; |
| 75 | |
| 76 struct _GtkIMHtmlToolbarClass { | |
| 77 GtkVBoxClass parent_class; | |
| 78 | |
| 79 }; | |
| 80 | |
|
8319
a2c5537a814b
[gaim-migrate @ 9043]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
81 GType gtk_imhtmltoolbar_get_type (void); |
| 8317 | 82 GtkWidget* gtk_imhtmltoolbar_new (void); |
| 83 | |
| 84 void gtk_imhtmltoolbar_attach (GtkIMHtmlToolbar *toolbar, GtkWidget *imhtml); | |
| 8427 | 85 void gtk_imhtmltoolbar_associate_smileys (GtkIMHtmlToolbar *toolbar, const char *proto_id); |
| 8317 | 86 |
| 87 | |
| 88 #ifdef __cplusplus | |
| 89 } | |
| 90 #endif | |
| 91 | |
| 92 #endif |
