comparison src/gtkconv.h @ 9759:b64ee81c7bcb

[gaim-migrate @ 10626] A patch from Good Stu to make the gaim_gtkconv_button_new() function public, which lets plugin authors use it. Plugin authors should use it to create a button to be added to conversation windows. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 15 Aug 2004 23:09:53 +0000
parents 78022bad9367
children 4a15962c344a
comparison
equal deleted inserted replaced
9758:4f2b50a06224 9759:b64ee81c7bcb
250 * @param conv The conversation. 250 * @param conv The conversation.
251 */ 251 */
252 void gaim_gtkconv_update_buttons_by_protocol(GaimConversation *conv); 252 void gaim_gtkconv_update_buttons_by_protocol(GaimConversation *conv);
253 253
254 /** 254 /**
255 * Creates a conversation button
256 *
257 * @param icon The stock icon name.
258 * @param text The text for the button.
259 * @param tooltip The tooltip text.
260 * @param tooltips The group of tooltips.
261 * @param callback A function to call when the button is clicked.
262 * @param data Data to pass to the callback.
263 *
264 * @return The button
265 */
266 GtkWidget *gaim_gtkconv_button_new(const char *icon, const char *text,
267 const char *tooltip, GtkTooltips *tooltips,
268 void *callback, void *data);
269
270 /**
255 * Returns the window at the specified X, Y location. 271 * Returns the window at the specified X, Y location.
256 * 272 *
257 * If the window is not a GTK+ window, @c NULL is returned. 273 * If the window is not a GTK+ window, @c NULL is returned.
258 * 274 *
259 * @param x The X coordinate. 275 * @param x The X coordinate.