diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-03-20 18:17:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-05-05 15:38:47 -0400 |
commit | 20c8c8b91cf2719249a729492ec84b7282dc03fb (patch) | |
tree | d53cf50689bceedbea093895d0e51a7c204cef76 /gtk/gtkimage.h | |
parent | 8470eb84c080718120b5daf130db744bf6ec220b (diff) | |
download | gtk+-20c8c8b91cf2719249a729492ec84b7282dc03fb.tar.gz |
Add annotations to gtk headers
Add annotations to all exported functions in GTK+ headers.
Diffstat (limited to 'gtk/gtkimage.h')
-rw-r--r-- | gtk/gtkimage.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gtk/gtkimage.h b/gtk/gtkimage.h index 023f20c5a4..43a76502db 100644 --- a/gtk/gtkimage.h +++ b/gtk/gtkimage.h @@ -105,62 +105,90 @@ struct _GtkImageClass void (*_gtk_reserved4) (void); }; +GDK_AVAILABLE_IN_ALL GType gtk_image_get_type (void) G_GNUC_CONST; +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_image_new (void); +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_image_new_from_file (const gchar *filename); +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_image_new_from_resource (const gchar *resource_path); +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_image_new_from_pixbuf (GdkPixbuf *pixbuf); +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, GtkIconSize size); +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_image_new_from_icon_set (GtkIconSet *icon_set, GtkIconSize size); +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_image_new_from_animation (GdkPixbufAnimation *animation); +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_image_new_from_icon_name (const gchar *icon_name, GtkIconSize size); +GDK_AVAILABLE_IN_ALL GtkWidget* gtk_image_new_from_gicon (GIcon *icon, GtkIconSize size); +GDK_AVAILABLE_IN_ALL void gtk_image_clear (GtkImage *image); +GDK_AVAILABLE_IN_ALL void gtk_image_set_from_file (GtkImage *image, const gchar *filename); +GDK_AVAILABLE_IN_ALL void gtk_image_set_from_resource (GtkImage *image, const gchar *resource_path); +GDK_AVAILABLE_IN_ALL void gtk_image_set_from_pixbuf (GtkImage *image, GdkPixbuf *pixbuf); +GDK_AVAILABLE_IN_ALL void gtk_image_set_from_stock (GtkImage *image, const gchar *stock_id, GtkIconSize size); +GDK_AVAILABLE_IN_ALL void gtk_image_set_from_icon_set (GtkImage *image, GtkIconSet *icon_set, GtkIconSize size); +GDK_AVAILABLE_IN_ALL void gtk_image_set_from_animation (GtkImage *image, GdkPixbufAnimation *animation); +GDK_AVAILABLE_IN_ALL void gtk_image_set_from_icon_name (GtkImage *image, const gchar *icon_name, GtkIconSize size); +GDK_AVAILABLE_IN_ALL void gtk_image_set_from_gicon (GtkImage *image, GIcon *icon, GtkIconSize size); +GDK_AVAILABLE_IN_ALL void gtk_image_set_pixel_size (GtkImage *image, gint pixel_size); +GDK_AVAILABLE_IN_ALL GtkImageType gtk_image_get_storage_type (GtkImage *image); +GDK_AVAILABLE_IN_ALL GdkPixbuf* gtk_image_get_pixbuf (GtkImage *image); +GDK_AVAILABLE_IN_ALL void gtk_image_get_stock (GtkImage *image, gchar **stock_id, GtkIconSize *size); +GDK_AVAILABLE_IN_ALL void gtk_image_get_icon_set (GtkImage *image, GtkIconSet **icon_set, GtkIconSize *size); +GDK_AVAILABLE_IN_ALL GdkPixbufAnimation* gtk_image_get_animation (GtkImage *image); +GDK_AVAILABLE_IN_ALL void gtk_image_get_icon_name (GtkImage *image, const gchar **icon_name, GtkIconSize *size); +GDK_AVAILABLE_IN_ALL void gtk_image_get_gicon (GtkImage *image, GIcon **gicon, GtkIconSize *size); +GDK_AVAILABLE_IN_ALL gint gtk_image_get_pixel_size (GtkImage *image); G_END_DECLS |