diff src/gtkutils.h @ 5906:390d32a6b130

[gaim-migrate @ 6338] auto-join for chats in the buddy list. Yes, the interface sucks. I suck at making interfaces. I'm sure someone more talented will make it pretty, or maybe even HIG-y. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 16 Jun 2003 05:14:05 +0000
parents f336fc0a7b8b
children a4f2aba0848d
line wrap: on
line diff
--- a/src/gtkutils.h	Mon Jun 16 04:15:35 2003 +0000
+++ b/src/gtkutils.h	Mon Jun 16 05:14:05 2003 +0000
@@ -131,7 +131,21 @@
  *
  * @return The newly created menu item.
  */
-GtkWidget *gaim_new_item(GtkWidget *menu, const char *str);  
+GtkWidget *gaim_new_item(GtkWidget *menu, const char *str);
+
+/**
+ * Creates a check menu item.
+ *
+ * @param menu     The menu to which to append the check menu item.
+ * @param str      The title to use for the newly created menu item.
+ * @param sf       A function to call when the menu item is activated.
+ * @param data     Data to pass to the signal function.
+ * @param checked  The initial state of the check item
+ *
+ * @return The newly created menu item.
+ */
+GtkWidget *gaim_new_check_item(GtkWidget *menu, const char *str,
+		GtkSignalFunc sf, gpointer data, gboolean checked);
 
 /**
  * Creates a menu item.