src/gtkconv.h

changeset 9759
10b4612b885a
parent 9718
aeee69c6c784
child 9791
f5c5bda0b96b
--- a/src/gtkconv.h	Sun Aug 15 23:07:54 2004 +0000
+++ b/src/gtkconv.h	Sun Aug 15 23:09:53 2004 +0000
@@ -252,6 +252,22 @@
 void gaim_gtkconv_update_buttons_by_protocol(GaimConversation *conv);
 
 /**
+ * Creates a conversation button
+ *
+ * @param icon     The stock icon name.
+ * @param text     The text for the button.
+ * @param tooltip  The tooltip text.
+ * @param tooltips The group of tooltips.
+ * @param callback A function to call when the button is clicked.
+ * @param data     Data to pass to the callback.
+ *
+ * @return The button
+ */
+GtkWidget *gaim_gtkconv_button_new(const char *icon, const char *text,
+								   const char *tooltip, GtkTooltips *tooltips,
+								   void *callback, void *data);
+
+/**
  * Returns the window at the specified X, Y location.
  *
  * If the window is not a GTK+ window, @c NULL is returned.

mercurial