pidgin/gtkutils.h

branch
cpw.resiak.disconnectreason
changeset 21304
ccd8db75dbc2
parent 20940
925d3d68b3af
child 21306
17bcaff6a8ff
equal deleted inserted replaced
21303:1b9440681883 21304:ccd8db75dbc2
598 */ 598 */
599 char *pidgin_make_pretty_arrows(const char *str); 599 char *pidgin_make_pretty_arrows(const char *str);
600 600
601 /** 601 /**
602 * Creates a "mini-dialog" suitable for embedding in the buddy list scrollbook 602 * Creates a "mini-dialog" suitable for embedding in the buddy list scrollbook
603 * 603 * with pidgin_blist_add_alert().
604 * @param handle A handle 604 *
605 * @param stock_id The ID of a stock image to use in the mini dialog 605 * @param handle The #PurpleConnection to which this mini-dialog
606 * refers, or @c NULL if it does not refer to a
607 * connection. If @a handle is supplied, the mini-dialog
608 * will be automatically removed and destroyed when the
609 * connection signs off.
610 * @param stock_id The ID of a stock image to use in the mini dialog.
606 * @param primary The primary text 611 * @param primary The primary text
607 * @param secondary The secondary text 612 * @param secondary The secondary text
608 * @param user_data Data to pass to the callbacks 613 * @param user_data Data to pass to the callbacks
609 * @param ... a NULL-terminated list of button labels and callbacks 614 * @param ... a <tt>NULL</tt>-terminated list of button labels
615 * (<tt>char *</tt>) and callbacks, which should take a
616 * <tt>void *</tt> argument, as which @a user_data will
617 * be passed. (Strictly speaking a <tt>GtkButton *</tt>
618 * will be passed as the second argument, but it can
619 * safely be omitted.)
620 * @return A <tt>GtkWidget *</tt> suitable for passing to
621 * pidgin_blist_add_alert().
622 * @see pidginstock.h
610 */ 623 */
611 void *pidgin_make_mini_dialog(PurpleConnection *handle, const char* stock_id, 624 void *pidgin_make_mini_dialog(PurpleConnection *handle, const char* stock_id,
612 const char *primary, const char *secondary, 625 const char *primary, const char *secondary,
613 void *user_data, ...); 626 void *user_data, ...);
614 627

mercurial