Mercurial > pidgin
comparison src/gtkutils.h @ 9749:a2fd9abea23a
[gaim-migrate @ 10616]
I'm probably not done with this, but I think it works pretty well, and
I want to change some stuff that might break it.
I made the buttons on conversation windows evently spaced and they
expand to take up space when you change the width of the convo windows.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 15 Aug 2004 15:08:25 +0000 |
parents | db62420a53a2 |
children | 4a15962c344a |
comparison
equal
deleted
inserted
replaced
9748:e2aeba6a79e0 | 9749:a2fd9abea23a |
---|---|
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 * Returns the display style for buttons for the specified conversation | |
71 * type. | |
72 * | |
73 * @param type The conversation type. | |
74 * | |
75 * @return The display style. | |
76 */ | |
77 int gaim_gtk_get_dispstyle(GaimConversationType type); | |
78 | |
79 /** | |
80 * Changes a button to be either text or image, depending on | |
81 * preferences. | |
82 * | |
83 * This function destroys the old button pointed to by @a button and | |
84 * returns the new replacement button. | |
85 * | |
86 * @param text The text for the button. | |
87 * @param button The button widget. | |
88 * @param stock The stock image. | |
89 * @param type The conversation type the button belongs to. | |
90 * | |
91 * @return The new button widget to replace the old one. | |
92 */ | |
93 GtkWidget *gaim_gtk_change_text(const char *text, GtkWidget *button, | |
94 const char *stock, GaimConversationType type); | |
95 | 68 |
96 /** | 69 /** |
97 * Toggles the sensitivity of a widget. | 70 * Toggles the sensitivity of a widget. |
98 * | 71 * |
99 * @param widget @c NULL. Used for signal handlers. | 72 * @param widget @c NULL. Used for signal handlers. |