comparison src/gtkutils.h @ 5877:f336fc0a7b8b

[gaim-migrate @ 6309] Added this cool little account drop-down widget, which is only used in pounces right now. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 15 Jun 2003 03:17:41 +0000
parents 059d95c67cda
children 390d32a6b130
comparison
equal deleted inserted replaced
5876:8d6e5f804325 5877:f336fc0a7b8b
174 */ 174 */
175 GtkWidget *gaim_gtk_protocol_option_menu_new(GaimProtocol protocol, 175 GtkWidget *gaim_gtk_protocol_option_menu_new(GaimProtocol protocol,
176 GCallback cb, 176 GCallback cb,
177 gpointer user_data); 177 gpointer user_data);
178 178
179 /**
180 * Creates a drop-down option menu filled with accounts.
181 *
182 * @param default_account The account to select by default.
183 * @param show_all Whether or not to show all accounts, or just active
184 * accounts.
185 * @param cb The callback to call when an account is selected.
186 * @param user_data Data to pass to the callback function.
187 *
188 * @return The drop-down option menu.
189 */
190 GtkWidget *gaim_gtk_account_option_menu_new(GaimAccount *default_account,
191 gboolean show_all, GCallback cb,
192 gpointer user_data);
193
179 #endif /* _GAIM_GTK_UTILS_H_ */ 194 #endif /* _GAIM_GTK_UTILS_H_ */