Top |
Functions
Properties
gchar * | file | Read / Write |
GIcon * | gicon | Read / Write |
gchar * | icon-name | Read / Write |
GtkIconSet * | icon-set | Read / Write |
gint | icon-size | Read / Write |
GdkImage * | image | Read / Write |
GdkPixmap * | mask | Read / Write |
GdkPixbuf * | pixbuf | Read / Write |
GdkPixbufAnimation * | pixbuf-animation | Read / Write |
gint | pixel-size | Read / Write |
GdkPixmap * | pixmap | Read / Write |
gchar * | stock | Read / Write |
GtkImageType | storage-type | Read |
Types and Values
struct | GtkImage |
enum | GtkImageType |
#define | gtk_image_new_from_file |
#define | gtk_image_set_from_file |
Functions
gtk_image_get_icon_set ()
void gtk_image_get_icon_set (GtkImage *image
,GtkIconSet **icon_set
,GtkIconSize *size
);
gtk_image_get_image ()
void gtk_image_get_image (GtkImage *image
,GdkImage **gdk_image
,GdkBitmap **mask
);
gtk_image_get_pixmap ()
void gtk_image_get_pixmap (GtkImage *image
,GdkPixmap **pixmap
,GdkBitmap **mask
);
gtk_image_get_stock ()
void gtk_image_get_stock (GtkImage *image
,gchar **stock_id
,GtkIconSize *size
);
gtk_image_get_icon_name ()
void gtk_image_get_icon_name (GtkImage *image
,const gchar **icon_name
,GtkIconSize *size
);
Since: 2.6
gtk_image_get_gicon ()
void gtk_image_get_gicon (GtkImage *image
,GIcon **gicon
,GtkIconSize *size
);
Since: 2.14
gtk_image_new_from_icon_set ()
GtkWidget * gtk_image_new_from_icon_set (GtkIconSet *icon_set
,GtkIconSize size
);
gtk_image_new_from_image ()
GtkWidget * gtk_image_new_from_image (GdkImage *image
,GdkBitmap *mask
);
gtk_image_new_from_pixmap ()
GtkWidget * gtk_image_new_from_pixmap (GdkPixmap *pixmap
,GdkBitmap *mask
);
gtk_image_new_from_stock ()
GtkWidget * gtk_image_new_from_stock (const gchar *stock_id
,GtkIconSize size
);
gtk_image_new_from_animation ()
GtkWidget *
gtk_image_new_from_animation (GdkPixbufAnimation *animation
);
gtk_image_new_from_icon_name ()
GtkWidget * gtk_image_new_from_icon_name (const gchar *icon_name
,GtkIconSize size
);
Since: 2.6
gtk_image_new_from_gicon ()
GtkWidget * gtk_image_new_from_gicon (GIcon *icon
,GtkIconSize size
);
Since: 2.14
gtk_image_set_from_icon_set ()
void gtk_image_set_from_icon_set (GtkImage *image
,GtkIconSet *icon_set
,GtkIconSize size
);
gtk_image_set_from_image ()
void gtk_image_set_from_image (GtkImage *image
,GdkImage *gdk_image
,GdkBitmap *mask
);
gtk_image_set_from_pixmap ()
void gtk_image_set_from_pixmap (GtkImage *image
,GdkPixmap *pixmap
,GdkBitmap *mask
);
gtk_image_set_from_stock ()
void gtk_image_set_from_stock (GtkImage *image
,const gchar *stock_id
,GtkIconSize size
);
gtk_image_set_from_animation ()
void gtk_image_set_from_animation (GtkImage *image
,GdkPixbufAnimation *animation
);
gtk_image_set_from_icon_name ()
void gtk_image_set_from_icon_name (GtkImage *image
,const gchar *icon_name
,GtkIconSize size
);
Since: 2.6
gtk_image_set_from_gicon ()
void gtk_image_set_from_gicon (GtkImage *image
,GIcon *icon
,GtkIconSize size
);
Since: 2.14
gtk_image_set ()
void gtk_image_set (GtkImage *image
,GdkImage *val
,GdkBitmap *mask
);
gtk_image_set
has been deprecated since version 2.0 and should not be used in newly-written code.
Use gtk_image_set_from_image()
instead.
gtk_image_get ()
void gtk_image_get (GtkImage *image
,GdkImage **val
,GdkBitmap **mask
);
gtk_image_get
has been deprecated since version 2.0 and should not be used in newly-written code.
Use gtk_image_get_image()
instead.
gtk_image_set_pixel_size ()
void gtk_image_set_pixel_size (GtkImage *image
,gint pixel_size
);
Since: 2.6
Property Details
The “file”
property
“file” gchar *
Filename to load and display.
Flags: Read / Write
Default value: NULL
The “icon-name”
property
“icon-name” gchar *
The name of the icon from the icon theme.
Flags: Read / Write
Default value: NULL
Since: 2.6
The “icon-size”
property
“icon-size” gint
Symbolic size to use for stock icon, icon set or named icon.
Flags: Read / Write
Allowed values: >= 0
Default value: 4
The “mask”
property
“mask” GdkPixmap *
Mask bitmap to use with GdkImage or GdkPixmap.
Flags: Read / Write
The “pixbuf-animation”
property
“pixbuf-animation” GdkPixbufAnimation *
GdkPixbufAnimation to display.
Flags: Read / Write
The “pixel-size”
property
“pixel-size” gint
Pixel size to use for named icon.
Flags: Read / Write
Allowed values: >= -1
Default value: -1
Since: 2.6
The “stock”
property
“stock” gchar *
Stock ID for a stock image to display.
Flags: Read / Write
Default value: NULL
The “storage-type”
property
“storage-type” GtkImageType
The representation being used for image data.
Flags: Read
Default value: GTK_IMAGE_EMPTY