Mercurial > pidgin.yaz
comparison src/gtkutils.h @ 10175:53410b84336f
[gaim-migrate @ 11290]
I wrote a helper function that creates the imhtml and toolbar and
puts them in a widget and what not. And I changed some places
to use this. And I removed some whitespace from log.c. And I
changed the conversation colors back to normal. And I'm not
committing everything in my tree, so let me know if this doesn't
compile. And that's all.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 14 Nov 2004 01:52:25 +0000 |
parents | 83eb12b1f1a1 |
children | 9d03dd6ccc9a |
comparison
equal
deleted
inserted
replaced
10174:8dd4535dd359 | 10175:53410b84336f |
---|---|
63 * default signal handlers. | 63 * default signal handlers. |
64 * | 64 * |
65 * @param imhtml The gtkimhtml widget to setup. | 65 * @param imhtml The gtkimhtml widget to setup. |
66 */ | 66 */ |
67 void gaim_setup_imhtml(GtkWidget *imhtml); | 67 void gaim_setup_imhtml(GtkWidget *imhtml); |
68 | |
69 /** | |
70 * Create an GtkIMHtml widget and associated GtkIMHtmlToolbar widget. This | |
71 * functions puts both widgets in a nice GtkFrame. They're separate by an | |
72 * attractive GtkSeparator. | |
73 * | |
74 * @param editable TRUE if this imhtml should be editable. If this is FALSE, | |
75 * then the toolbar will NOT be created. If this imthml should be | |
76 * read-only at first, but may become editable later, then pass in | |
77 * TRUE here and then manually call gtk_imhtml_set_editable() later. | |
78 * @param imhtml_ret A pointer to a pointer to a GtkWidget. This pointer | |
79 * will be set to the imhtml when this function exits. | |
80 * @param toolbar_ret A pointer to a pointer to a GtkWidget. If editable is | |
81 * TRUE then this will be set to the toolbar when this function exits. | |
82 * Otherwise this will be set to NULL. | |
83 * @return The GtkFrame containing the toolbar and imhtml. | |
84 */ | |
85 GtkWidget *gaim_gtk_create_imhtml(gboolean editable, GtkWidget **imhtml_ret, GtkWidget **toolbar_ret); | |
68 | 86 |
69 /** | 87 /** |
70 * Toggles the sensitivity of a widget. | 88 * Toggles the sensitivity of a widget. |
71 * | 89 * |
72 * @param widget @c NULL. Used for signal handlers. | 90 * @param widget @c NULL. Used for signal handlers. |