package Implements_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Image_Record, Gtk_Image);
type Gtk_Image_Record is new Gtk_Misc_Record with null record;
type Gtk_Image is access all Gtk_Image_Record'Class;
File_Property : constant Glib.Properties.Property_String;
Gicon_Property : constant Glib.Properties.Property_Boxed;
Icon_Name_Property : constant Glib.Properties.Property_String;
Icon_Set_Property : constant Glib.Properties.Property_Boxed;
Icon_Size_Property : constant Glib.Properties.Property_Int;
Image_Property : constant Glib.Properties.Property_Boxed;
Mask_Property : constant Glib.Properties.Property_Boxed;
Pixbuf_Property : constant Glib.Properties.Property_Object;
Pixbuf_Animation_Property : constant Glib.Properties.Property_Boxed;
Pixel_Size_Property : constant Glib.Properties.Property_Int;
Pixmap_Property : constant Glib.Properties.Property_Boxed;
Stock_Property : constant Glib.Properties.Property_String;
Storage_Type_Property : constant Glib.Properties.Property_Boxed;
procedure Gtk_New
( | Image | : out Gtk_Image); |
procedure Initialize
( | Image | : access Gtk_Image_Record'Class); |
procedure Gtk_New
( | Image | : out Gtk_Image; |
Animation | : Gdk.Pixbuf.Gdk_Pixbuf_Animation); |
procedure Initialize
( | Image | : access Gtk_Image_Record'Class; |
Animation | : Gdk.Pixbuf.Gdk_Pixbuf_Animation); |
procedure Gtk_New
( | Image | : out Gtk_Image; |
Filename | : UTF8_String); |
procedure Initialize
( | Image | : access Gtk_Image_Record'Class; |
Filename | : UTF8_String); |
procedure Gtk_New_From_Gicon
( | Image | : out Gtk_Image; |
Icon | : Glib.G_Icon.G_Icon; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
procedure Initialize_From_Gicon
( | Image | : access Gtk_Image_Record'Class; |
Icon | : Glib.G_Icon.G_Icon; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
procedure Gtk_New_From_Icon_Name
( | Image | : out Gtk_Image; |
Icon_Name | : UTF8_String; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
procedure Initialize_From_Icon_Name
( | Image | : access Gtk_Image_Record'Class; |
Icon_Name | : UTF8_String; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
procedure Gtk_New
( | Image | : out Gtk_Image; |
Icon_Set | : Gtk.Icon_Factory.Gtk_Icon_Set; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
procedure Initialize
( | Image | : access Gtk_Image_Record'Class; |
Icon_Set | : Gtk.Icon_Factory.Gtk_Icon_Set; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
procedure Gtk_New
( | Image | : out Gtk_Image; |
Val | : Gdk.Image.Gdk_Image; | |
Mask | : Gdk.Bitmap.Gdk_Bitmap); |
procedure Initialize
( | Image | : access Gtk_Image_Record'Class; |
Val | : Gdk.Image.Gdk_Image; | |
Mask | : Gdk.Bitmap.Gdk_Bitmap); |
procedure Gtk_New
( | Image | : out Gtk_Image; |
Pixbuf | : access Gdk.Pixbuf.Gdk_Pixbuf_Record'Class); |
procedure Initialize
( | Image | : access Gtk_Image_Record'Class; |
Pixbuf | : access Gdk.Pixbuf.Gdk_Pixbuf_Record'Class); |
procedure Gtk_New
( | Image | : out Gtk_Image; |
Pixmap | : Gdk.Pixmap.Gdk_Pixmap; | |
Mask | : Gdk.Bitmap.Gdk_Bitmap); |
procedure Initialize
( | Image | : access Gtk_Image_Record'Class; |
Pixmap | : Gdk.Pixmap.Gdk_Pixmap; | |
Mask | : Gdk.Bitmap.Gdk_Bitmap); |
procedure Gtk_New
( | Image | : out Gtk_Image; |
Stock_Id | : UTF8_String; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
procedure Initialize
( | Image | : access Gtk_Image_Record'Class; |
Stock_Id | : UTF8_String; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
function Get_Type return Glib.GType;
procedure Clear
( | Image | : access Gtk_Image_Record); |
function Get
( | Image | : access Gtk_Image_Record) return Gdk.Pixbuf.Gdk_Pixbuf_Animation; |
procedure Get
( | Image | : access Gtk_Image_Record; |
Gicon | : out Glib.G_Icon.G_Icon; | |
Size | : out Gtk.Enums.Gtk_Icon_Size); |
procedure Get
( | Image | : access Gtk_Image_Record; |
Icon_Set | : out Gtk.Icon_Factory.Gtk_Icon_Set; | |
Size | : out Gtk.Enums.Gtk_Icon_Size); |
procedure Get
( | Image | : access Gtk_Image_Record; |
Gdk_Image | : out Gdk.Image.Gdk_Image; | |
Mask | : out Gdk.Bitmap.Gdk_Bitmap); |
function Get
( | Image | : access Gtk_Image_Record) return Gdk.Pixbuf.Gdk_Pixbuf; |
procedure Get
( | Image | : access Gtk_Image_Record; |
Pixmap | : out Gdk.Pixmap.Gdk_Pixmap; | |
Mask | : out Gdk.Bitmap.Gdk_Bitmap); |
function Get_Pixel_Size
( | Image | : access Gtk_Image_Record) return Gint; |
procedure Set_Pixel_Size
( | Image | : access Gtk_Image_Record; |
Pixel_Size | : Gint); |
function Get_Storage_Type
( | Image | : access Gtk_Image_Record) return Gtk_Image_Type; |
procedure Set
( | Image | : access Gtk_Image_Record; |
Animation | : Gdk.Pixbuf.Gdk_Pixbuf_Animation); |
procedure Set
( | Image | : access Gtk_Image_Record; |
Filename | : UTF8_String); |
procedure Set
( | Image | : access Gtk_Image_Record; |
Icon | : Glib.G_Icon.G_Icon; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
procedure Set
( | Image | : access Gtk_Image_Record; |
Icon_Set | : Gtk.Icon_Factory.Gtk_Icon_Set; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
procedure Set
( | Image | : access Gtk_Image_Record; |
Gdk_Image | : Gdk.Image.Gdk_Image; | |
Mask | : Gdk.Bitmap.Gdk_Bitmap); |
procedure Set
( | Image | : access Gtk_Image_Record; |
Pixbuf | : access Gdk.Pixbuf.Gdk_Pixbuf_Record'Class); |
procedure Set
( | Image | : access Gtk_Image_Record; |
Pixmap | : Gdk.Pixmap.Gdk_Pixmap; | |
Mask | : Gdk.Bitmap.Gdk_Bitmap); |
procedure Set
( | Image | : access Gtk_Image_Record; |
Stock_Id | : UTF8_String; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
procedure Set_From_Icon_Name
( | Image | : access Gtk_Image_Record; |
Icon_Name | : UTF8_String; | |
Size | : Gtk.Enums.Gtk_Icon_Size); |
function Get
( | Image | : access Gtk_Image_Record; |
Size | : access Gtk.Enums.Gtk_Icon_Size) return String; |
procedure Get_Icon_Name
( | Image | : access Gtk_Image_Record; |
Name | : out GNAT.Strings.String_Access; | |
Size | : out Gtk.Enums.Gtk_Icon_Size); |
function "+"
( | Widget | : access Gtk_Image_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Image renames Implements_Buildable.To_Object; |
The Gtk_Image widget displays a graphical image. The image is typically created using Gdk.Image.Gdk_New.
The pixels in a Gtk_Image may be manipulated by the application after creation, as Gtk_Image store the pixel data on the client side. If you wish to store the pixel data on the server side (thus not allowing manipulation of the data after creation) you should use Gtk_Pixmap.