diff 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
line wrap: on
line diff
--- a/src/gtkutils.h	Sun Jun 15 02:19:54 2003 +0000
+++ b/src/gtkutils.h	Sun Jun 15 03:17:41 2003 +0000
@@ -176,4 +176,19 @@
 											 GCallback cb,
 											 gpointer user_data);
 
+/**
+ * Creates a drop-down option menu filled with accounts.
+ *
+ * @param default_account The account to select by default.
+ * @param show_all        Whether or not to show all accounts, or just active
+ *                        accounts.
+ * @param cb              The callback to call when an account is selected.
+ * @param user_data       Data to pass to the callback function.
+ *
+ * @return The drop-down option menu.
+ */
+GtkWidget *gaim_gtk_account_option_menu_new(GaimAccount *default_account,
+											gboolean show_all, GCallback cb,
+											gpointer user_data);
+
 #endif /* _GAIM_GTK_UTILS_H_ */