comparison pidgin/gtkutils.h @ 23128:ce984959bda0

Add a utility function to create a pixbuf from a stored image.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 28 Apr 2008 06:24:01 +0000
parents 2f805b1efc9a
children bc58e2d9f0f5
comparison
equal deleted inserted replaced
23127:3da84b370eda 23128:ce984959bda0
687 * pidgin_blist_add_alert(). 687 * pidgin_blist_add_alert().
688 * @see pidginstock.h 688 * @see pidginstock.h
689 */ 689 */
690 GtkWidget *pidgin_make_mini_dialog(PurpleConnection *handle, 690 GtkWidget *pidgin_make_mini_dialog(PurpleConnection *handle,
691 const char* stock_id, const char *primary, const char *secondary, 691 const char* stock_id, const char *primary, const char *secondary,
692 void *user_data, ...); 692 void *user_data, ...) G_GNUC_NULL_TERMINATED;
693 693
694 /** 694 /**
695 * This is a callback function to be used for Ctrl+F searching in treeviews. 695 * This is a callback function to be used for Ctrl+F searching in treeviews.
696 * Sample Use: 696 * Sample Use:
697 * gtk_tree_view_set_search_equal_func(treeview, 697 * gtk_tree_view_set_search_equal_func(treeview,
807 * @return A GtkHBox already added to the GtkVBox containing the GtkLabel and the GtkWidget. 807 * @return A GtkHBox already added to the GtkVBox containing the GtkLabel and the GtkWidget.
808 * @since 2.4.0 808 * @since 2.4.0
809 */ 809 */
810 GtkWidget *pidgin_add_widget_to_vbox(GtkBox *vbox, const char *widget_label, GtkSizeGroup *sg, GtkWidget *widget, gboolean expand, GtkWidget **p_label); 810 GtkWidget *pidgin_add_widget_to_vbox(GtkBox *vbox, const char *widget_label, GtkSizeGroup *sg, GtkWidget *widget, gboolean expand, GtkWidget **p_label);
811 811
812 /**
813 * Create a GdkPixbuf from a PurpleStoredImage.
814 *
815 * @param image A PurpleStoredImage.
816 *
817 * @return A GdkPixbuf created from the stored image.
818 * @since 2.5.0
819 */
820 GdkPixbuf * pidgin_pixbuf_from_imgstore(PurpleStoredImage *image);
821
812 #endif /* _PIDGINUTILS_H_ */ 822 #endif /* _PIDGINUTILS_H_ */
813 823