Mercurial > pidgin
comparison src/gtkutils.h @ 13280:3de53fe8345f
[gaim-migrate @ 15646]
Always show a vertical scrollbar on conversations imhtmls. This will solve the shrinking conversation window bug. I chose this approach instead of saving the size of the window (as I had previous talked about), as this prevents the contents of the scrollback from rewrapping when the scrollbars appear or disappear. It also just seems to feel like the right thing to do, but maybe that's me being lazy.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 14 Feb 2006 05:43:43 +0000 |
parents | 079f7a452e3a |
children | 2e6dda9f9159 |
comparison
equal
deleted
inserted
replaced
13279:0c50401679d3 | 13280:3de53fe8345f |
---|---|
68 /** | 68 /** |
69 * Create an GtkIMHtml widget and associated GtkIMHtmlToolbar widget. This | 69 * Create an GtkIMHtml widget and associated GtkIMHtmlToolbar widget. This |
70 * functions puts both widgets in a nice GtkFrame. They're separate by an | 70 * functions puts both widgets in a nice GtkFrame. They're separate by an |
71 * attractive GtkSeparator. | 71 * attractive GtkSeparator. |
72 * | 72 * |
73 * @param editable TRUE if this imhtml should be editable. If this is FALSE, | 73 * @param editable @c TRUE if this imhtml should be editable. If this is @c FALSE, |
74 * then the toolbar will NOT be created. If this imthml should be | 74 * then the toolbar will NOT be created. If this imthml should be |
75 * read-only at first, but may become editable later, then pass in | 75 * read-only at first, but may become editable later, then pass in |
76 * TRUE here and then manually call gtk_imhtml_set_editable() later. | 76 * @c TRUE here and then manually call gtk_imhtml_set_editable() later. |
77 * @param imhtml_ret A pointer to a pointer to a GtkWidget. This pointer | 77 * @param imhtml_ret A pointer to a pointer to a GtkWidget. This pointer |
78 * will be set to the imhtml when this function exits. | 78 * will be set to the imhtml when this function exits. |
79 * @param toolbar_ret A pointer to a pointer to a GtkWidget. If editable is | 79 * @param toolbar_ret A pointer to a pointer to a GtkWidget. If editable is |
80 * TRUE then this will be set to the toolbar when this function exits. | 80 * TRUE then this will be set to the toolbar when this function exits. |
81 * Otherwise this will be set to NULL. | 81 * Otherwise this will be set to @c NULL. |
82 * @param sw_ret This will be filled with a pointer to the scrolled window | |
83 * widget which contains the imhtml. | |
82 * @return The GtkFrame containing the toolbar and imhtml. | 84 * @return The GtkFrame containing the toolbar and imhtml. |
83 */ | 85 */ |
84 GtkWidget *gaim_gtk_create_imhtml(gboolean editable, GtkWidget **imhtml_ret, GtkWidget **toolbar_ret); | 86 GtkWidget *gaim_gtk_create_imhtml(gboolean editable, GtkWidget **imhtml_ret, GtkWidget **toolbar_ret, GtkWidget **sw_ret); |
85 | 87 |
86 /** | 88 /** |
87 * Toggles the sensitivity of a widget. | 89 * Toggles the sensitivity of a widget. |
88 * | 90 * |
89 * @param widget @c NULL. Used for signal handlers. | 91 * @param widget @c NULL. Used for signal handlers. |