Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Macros | |
#define | GTK_TYPE_IMAGE (gtk_image_get_type ()) |
#define | GTK_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE, GtkImage)) |
#define | GTK_IS_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE)) |
Typedefs | |
typedef struct _GtkImage | GtkImage |
Enumerations | |
enum | GtkImageType { GTK_IMAGE_EMPTY , GTK_IMAGE_ICON_NAME , GTK_IMAGE_GICON , GTK_IMAGE_PAINTABLE } |
#define GTK_IMAGE | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE, GtkImage)) |
Definition at line 39 of file gtkimage.h.
#define GTK_IS_IMAGE | ( | obj | ) | (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE)) |
Definition at line 40 of file gtkimage.h.
#define GTK_TYPE_IMAGE (gtk_image_get_type ()) |
Definition at line 38 of file gtkimage.h.
typedef struct _GtkImage GtkImage |
Definition at line 42 of file gtkimage.h.
enum GtkImageType |
GtkImageType: @GTK_IMAGE_EMPTY: there is no image displayed by the widget @GTK_IMAGE_ICON_NAME: the widget contains a named icon @GTK_IMAGE_GICON: the widget contains a GIcon
@GTK_IMAGE_PAINTABLE: the widget contains a GdkPaintable
Describes the image data representation used by a [class.nosp@m.@Gtk.nosp@m..Imag.nosp@m.e].
If you want to get the image from the widget, you can only get the currently-stored representation; for instance, if the gtk_image_get_storage_type() returns GTK_IMAGE_PAINTABLE, then you can call gtk_image_get_paintable().
For empty images, you can request any storage type (call any of the "get" functions), but they will all return NULL values.
Enumerator | |
---|---|
GTK_IMAGE_EMPTY | |
GTK_IMAGE_ICON_NAME | |
GTK_IMAGE_GICON | |
GTK_IMAGE_PAINTABLE |
Definition at line 60 of file gtkimage.h.
GDK_AVAILABLE_IN_ALL void gtk_image_clear | ( | GtkImage * | image | ) |
GDK_AVAILABLE_IN_ALL GIcon * gtk_image_get_gicon | ( | GtkImage * | image | ) |
GDK_AVAILABLE_IN_ALL const char * gtk_image_get_icon_name | ( | GtkImage * | image | ) |
GDK_AVAILABLE_IN_ALL GtkIconSize gtk_image_get_icon_size | ( | GtkImage * | image | ) |
GDK_AVAILABLE_IN_ALL GdkPaintable * gtk_image_get_paintable | ( | GtkImage * | image | ) |
GDK_AVAILABLE_IN_ALL int gtk_image_get_pixel_size | ( | GtkImage * | image | ) |
GDK_AVAILABLE_IN_ALL GtkImageType gtk_image_get_storage_type | ( | GtkImage * | image | ) |
GDK_AVAILABLE_IN_ALL GType gtk_image_get_type | ( | void | ) |
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_image_new | ( | void | ) |
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_image_new_from_file | ( | const char * | filename | ) |
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_image_new_from_gicon | ( | GIcon * | icon | ) |
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_image_new_from_icon_name | ( | const char * | icon_name | ) |
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_image_new_from_paintable | ( | GdkPaintable * | paintable | ) |
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_image_new_from_resource | ( | const char * | resource_path | ) |
GDK_AVAILABLE_IN_ALL void gtk_image_set_from_file | ( | GtkImage * | image, |
const char * | filename ) |
GDK_AVAILABLE_IN_ALL void gtk_image_set_from_gicon | ( | GtkImage * | image, |
GIcon * | icon ) |
GDK_AVAILABLE_IN_ALL void gtk_image_set_from_icon_name | ( | GtkImage * | image, |
const char * | icon_name ) |
GDK_AVAILABLE_IN_ALL void gtk_image_set_from_paintable | ( | GtkImage * | image, |
GdkPaintable * | paintable ) |
GDK_AVAILABLE_IN_ALL void gtk_image_set_from_resource | ( | GtkImage * | image, |
const char * | resource_path ) |
GDK_AVAILABLE_IN_ALL void gtk_image_set_icon_size | ( | GtkImage * | image, |
GtkIconSize | icon_size ) |
GDK_AVAILABLE_IN_ALL void gtk_image_set_pixel_size | ( | GtkImage * | image, |
int | pixel_size ) |