## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Image

- Goto spec source

# Description

    package Gtk.Image is

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.

### Screenshot

# Packages

### Implements_Buildable (new Glib.Types.Implements)

    package Implements_Buildable is new Glib.Types.Implements
         (Gtk.Buildable.Gtk_Buildable, Gtk_Image_Record, Gtk_Image);

# Classes

### Gtk_Image_Record

- Goto declaration in source

    type Gtk_Image_Record is new Gtk_Misc_Record with null record;

#### Ancestors:

Gtk.Misc.Gtk_Misc_Record
Gtk.Widget.Gtk_Widget_Record
Glib.Object.GObject_Record

#### Primitive operations:

Clear

- To API doc
- To spec

Get

- To API doc
- To spec

Get

- To API doc
- To spec

Get

- To API doc
- To spec

Get

- To API doc
- To spec

Get

- To API doc
- To spec

Get

- To API doc
- To spec

Get

- To API doc
- To spec

Get_Icon_Name

- To API doc
- To spec

Get_Pixel_Size

- To API doc
- To spec

Get_Storage_Type

- To API doc
- To spec

Glib.Object.Deallocate

- To API doc
- To spec

(Inherited)
Glib.Object.Get_Type

- To API doc
- To spec

(Inherited)
Glib.Object.Notify

- To API doc
- To spec

(Inherited)
Glib.Object.Ref

- To API doc
- To spec

(Inherited)
Glib.Object.Ref_Sink

- To API doc
- To spec

(Inherited)
Glib.Object.Unref

- To API doc
- To spec

(Inherited)
Gtk.Misc.Get_Alignment

- To API doc
- To spec

(Inherited)
Gtk.Misc.Get_Padding

- To API doc
- To spec

(Inherited)
Gtk.Misc.Set_Alignment

- To API doc
- To spec

(Inherited)
Gtk.Misc.Set_Padding

- To API doc
- To spec

(Inherited)
Gtk.Widget.Activate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Add_Accelerator

- To API doc
- To spec

(Inherited)
Gtk.Widget.Add_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Add_Mnemonic_Label

- To API doc
- To spec

(Inherited)
Gtk.Widget.Can_Activate_Accel

- To API doc
- To spec

(Inherited)
Gtk.Widget.Child_Notify

- To API doc
- To spec

(Inherited)
Gtk.Widget.Class_Path

- To API doc
- To spec

(Inherited)
Gtk.Widget.Class_Path_Reversed

- To API doc
- To spec

(Inherited)
Gtk.Widget.Create_Pango_Context

- To API doc
- To spec

(Inherited)
Gtk.Widget.Create_Pango_Layout

- To API doc
- To spec

(Inherited)
Gtk.Widget.Destroy

- To API doc
- To spec

(Inherited)
Gtk.Widget.Draw

- To API doc
- To spec

(Inherited)
Gtk.Widget.Ensure_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Error_Bell

- To API doc
- To spec

(Inherited)
Gtk.Widget.Flag_Is_Set

- To API doc
- To spec

(Inherited)
Gtk.Widget.Flags

- To API doc
- To spec

(Inherited)
Gtk.Widget.Freeze_Child_Notify

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_Height

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_Width

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_X

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_Y

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Ancestor

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Child_Requisition

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Child_Visible

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Colormap

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Composite_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Direction

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Extension_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Has_Tooltip

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_No_Show_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Pango_Context

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Parent

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Parent_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Pointer

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Root_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Size_Request

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Snapshot

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_State

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Tooltip_Markup

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Tooltip_Text

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Tooltip_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Toplevel

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Visual

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Grab_Default

- To API doc
- To spec

(Inherited)
Gtk.Widget.Grab_Focus

- To API doc
- To spec

(Inherited)
Gtk.Widget.Has_Screen

- To API doc
- To spec

(Inherited)
Gtk.Widget.Hide

- To API doc
- To spec

(Inherited)
Gtk.Widget.Hide_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Input_Shape_Combine_Mask

- To API doc
- To spec

(Inherited)
Gtk.Widget.Intersect

- To API doc
- To spec

(Inherited)
Gtk.Widget.Is_Ancestor

- To API doc
- To spec

(Inherited)
Gtk.Widget.Is_Composited

- To API doc
- To spec

(Inherited)
Gtk.Widget.Is_Focus

- To API doc
- To spec

(Inherited)
Gtk.Widget.Keynav_Failed

- To API doc
- To spec

(Inherited)
Gtk.Widget.List_Mnemonic_Labels

- To API doc
- To spec

(Inherited)
Gtk.Widget.Map

- To API doc
- To spec

(Inherited)
Gtk.Widget.Mnemonic_Activate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Base

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Bg

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Cursor

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Fg

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Font

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Text

- To API doc
- To spec

(Inherited)
Gtk.Widget.Path

- To API doc
- To spec

(Inherited)
Gtk.Widget.Path_Reversed

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Clear

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Clear_Area

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Draw

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Draw_Area

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Resize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Resize_No_Redraw

- To API doc
- To spec

(Inherited)
Gtk.Widget.Realize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Region_Intersect

- To API doc
- To spec

(Inherited)
Gtk.Widget.Remove_Accelerator

- To API doc
- To spec

(Inherited)
Gtk.Widget.Remove_Mnemonic_Label

- To API doc
- To spec

(Inherited)
Gtk.Widget.Render_Icon

- To API doc
- To spec

(Inherited)
Gtk.Widget.Reparent

- To API doc
- To spec

(Inherited)
Gtk.Widget.Reset_Rc_Styles

- To API doc
- To spec

(Inherited)
Gtk.Widget.Reset_Shapes

- To API doc
- To spec

(Inherited)
Gtk.Widget.Restore_Default_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Send_Expose

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Accel_Path

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_App_Paintable

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Child_Visible

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Colormap

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Composite_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Direction

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Double_Buffered

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Extension_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Flags

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Has_Tooltip

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_No_Show_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Parent

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Parent_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Redraw_On_Allocate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Scroll_Adjustments

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Sensitive

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Size_Request

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_State

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Tooltip_Markup

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Tooltip_Text

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Tooltip_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_UPosition

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_USize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Shape_Combine_Mask

- To API doc
- To spec

(Inherited)
Gtk.Widget.Show

- To API doc
- To spec

(Inherited)
Gtk.Widget.Show_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Show_Now

- To API doc
- To spec

(Inherited)
Gtk.Widget.Size_Allocate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Size_Request

- To API doc
- To spec

(Inherited)
Gtk.Widget.Style_Get_Property

- To API doc
- To spec

(Inherited)
Gtk.Widget.Thaw_Child_Notify

- To API doc
- To spec

(Inherited)
Gtk.Widget.Trigger_Tooltip_Query

- To API doc
- To spec

(Inherited)
Gtk.Widget.Unmap

- To API doc
- To spec

(Inherited)
Gtk.Widget.Unrealize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Unset_Flags

- To API doc
- To spec

(Inherited)
Set

- To API doc
- To spec

Set

- To API doc
- To spec

Set

- To API doc
- To spec

Set

- To API doc
- To spec

Set

- To API doc
- To spec

Set

- To API doc
- To spec

Set

- To API doc
- To spec

Set

- To API doc
- To spec

Set_From_Icon_Name

- To API doc
- To spec

Set_Pixel_Size

- To API doc
- To spec

# Types

### Gtk_Image

- Goto declaration in source

    type Gtk_Image is access all Gtk_Image_Record'Class;

### Gtk_Image_Type

- Goto declaration in source

    type Gtk_Image_Type is
            (Image_Empty,
             Image_Pixmap,
             Image_Image,
             Image_Pixbuf,
             Image_Stock,
             Image_Icon_Set,
             Image_Animation,
             Image_Icon_Name,
             Image_Gicon);

# Constants & Global variables

### File_Property

- Goto declaration in source

(Glib.Properties.Property_String)

    File_Property : constant Glib.Properties.Property_String;

### Gicon_Property

- Goto declaration in source

(Glib.Properties.Property_Boxed)

    Gicon_Property : constant Glib.Properties.Property_Boxed;

### Icon_Name_Property

- Goto declaration in source

(Glib.Properties.Property_String)

    Icon_Name_Property : constant Glib.Properties.Property_String;

### Icon_Set_Property

- Goto declaration in source

(Glib.Properties.Property_Boxed)

    Icon_Set_Property : constant Glib.Properties.Property_Boxed;

### Icon_Size_Property

- Goto declaration in source

(Glib.Properties.Property_Int)

    Icon_Size_Property : constant Glib.Properties.Property_Int;

### Image_Property

- Goto declaration in source

(Glib.Properties.Property_Boxed)

    Image_Property : constant Glib.Properties.Property_Boxed;

### Mask_Property

- Goto declaration in source

(Glib.Properties.Property_Boxed)

    Mask_Property : constant Glib.Properties.Property_Boxed;

### Pixbuf_Property

- Goto declaration in source

(Glib.Properties.Property_Object)

    Pixbuf_Property : constant Glib.Properties.Property_Object;

### Pixbuf_Animation_Property

- Goto declaration in source

(Glib.Properties.Property_Boxed)

    Pixbuf_Animation_Property : constant Glib.Properties.Property_Boxed;

### Pixel_Size_Property

- Goto declaration in source

(Glib.Properties.Property_Int)

    Pixel_Size_Property : constant Glib.Properties.Property_Int;

### Pixmap_Property

- Goto declaration in source

(Glib.Properties.Property_Boxed)

    Pixmap_Property : constant Glib.Properties.Property_Boxed;

### Stock_Property

- Goto declaration in source

(Glib.Properties.Property_String)

    Stock_Property : constant Glib.Properties.Property_String;

### Storage_Type_Property

- Goto declaration in source

(Glib.Properties.Property_Boxed)

    Storage_Type_Property : constant Glib.Properties.Property_Boxed;

# Subprograms & Entries

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Image: out Gtk_Image);

### Initialize

- Goto spec in source

    procedure Initialize (Image: access Gtk_Image_Record'Class);

Creates a new empty Gtk.Image.Gtk_Image widget.

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Image: out Gtk_Image;Animation: Gdk.Pixbuf.Gdk_Pixbuf_Animation);

### Initialize

- Goto spec in source

    procedure Initialize (Image: access Gtk_Image_Record'Class;Animation: Gdk.Pixbuf.Gdk_Pixbuf_Animation);

Creates a Gtk.Image.Gtk_Image displaying the given animation. The Gtk.Image.Gtk_Image does not assume a reference to the animation; you still need to unref it if you own references. Gtk.Image.Gtk_Image will add its own reference rather than adopting yours. Note that the animation frames are shown using a timeout with G_PRIORITY_DEFAULT. When using animations to indicate busyness, keep in mind that the animation will only be shown if the main loop is not busy with something that has a higher priority. "animation": an animation

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Image: out Gtk_Image;Filename: UTF8_String);

### Initialize

- Goto spec in source

    procedure Initialize (Image: access Gtk_Image_Record'Class;Filename: UTF8_String);

Creates a new Gtk.Image.Gtk_Image displaying the file Filename. If the file isn't found or can't be loaded, the resulting Gtk.Image.Gtk_Image will display a "broken image" icon. This function never returns null, it always returns a valid Gtk.Image.Gtk_Image widget. If the file contains an animation, the image will contain an animation. If you need to detect failures to load the file, use Gdk.Pixbuf.Gdk_New_From_File to load the file yourself, then create the Gtk.Image.Gtk_Image from the pixbuf. (Or for animations, use Gdk.Pixbuf.Gdk_New_From_File). The storage type (gtk_image_get_storage_type) of the returned image is not defined, it will be whatever is appropriate for displaying the file. "filename": a filename

### Gtk_New_From_Gicon

- Goto spec in source

    procedure Gtk_New_From_Gicon (Image: out Gtk_Image;Icon: Glib.G_Icon.G_Icon;Size: Gtk.Enums.Gtk_Icon_Size);

### Initialize_From_Gicon

- Goto spec in source

    procedure Initialize_From_Gicon (Image: access Gtk_Image_Record'Class;Icon: Glib.G_Icon.G_Icon;Size: Gtk.Enums.Gtk_Icon_Size);

Creates a Gtk.Image.Gtk_Image displaying an icon from the current icon theme. If the icon name isn't known, a "broken image" icon will be displayed instead. If the current icon theme is changed, the icon will be updated appropriately. Since: gtk+ 2.14 "icon": an icon "size": a stock icon size

### Gtk_New_From_Icon_Name

- Goto spec in source

    procedure Gtk_New_From_Icon_Name (Image: out Gtk_Image;Icon_Name: UTF8_String;Size: Gtk.Enums.Gtk_Icon_Size);

### Initialize_From_Icon_Name

- Goto spec in source

    procedure Initialize_From_Icon_Name (Image: access Gtk_Image_Record'Class;Icon_Name: UTF8_String;Size: Gtk.Enums.Gtk_Icon_Size);

Creates a Gtk.Image.Gtk_Image displaying an icon from the current icon theme. If the icon name isn't known, a "broken image" icon will be displayed instead. If the current icon theme is changed, the icon will be updated appropriately. Since: gtk+ 2.6 "icon_name": an icon name "size": a stock icon size

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Image: out Gtk_Image;Icon_Set: Gtk.Icon_Factory.Gtk_Icon_Set;Size: Gtk.Enums.Gtk_Icon_Size);

### Initialize

- Goto spec in source

    procedure Initialize (Image: access Gtk_Image_Record'Class;Icon_Set: Gtk.Icon_Factory.Gtk_Icon_Set;Size: Gtk.Enums.Gtk_Icon_Size);

Creates a Gtk.Image.Gtk_Image displaying an icon set. Sample stock sizes are GTK_ICON_SIZE_MENU, GTK_ICON_SIZE_SMALL_TOOLBAR. Instead of using this function, usually it's better to create a Gtk.Iconfactory.Gtk_Iconfactory, put your icon sets in the icon factory, add the icon factory to the list of default factories with Gtk.Icon_Factory.Add_Default, and then use Gtk.Image.Gtk_New. This will allow themes to override the icon you ship with your application. The Gtk.Image.Gtk_Image does not assume a reference to the icon set; you still need to unref it if you own references. Gtk.Image.Gtk_Image will add its own reference rather than adopting yours. "icon_set": a GtkIconSet "size": a stock icon size

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Image: out Gtk_Image;Val: Gdk.Image.Gdk_Image;Mask: Gdk.Bitmap.Gdk_Bitmap);

### Initialize

- Goto spec in source

    procedure Initialize (Image: access Gtk_Image_Record'Class;Val: Gdk.Image.Gdk_Image;Mask: Gdk.Bitmap.Gdk_Bitmap);

Creates a Gtk.Image.Gtk_Image widget displaying a Image with a Mask. A GdkImage is a client-side image buffer in the pixel format of the current display. The Gtk.Image.Gtk_Image does not assume a reference to the image or mask; you still need to unref them if you own references. Gtk.Image.Gtk_Image will add its own reference rather than adopting yours. "Val": a GdkImage, or null "mask": a GdkBitmap, or null

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Image: out Gtk_Image;Pixbuf: access Gdk.Pixbuf.Gdk_Pixbuf_Record'Class);

### Initialize

- Goto spec in source

    procedure Initialize (Image: access Gtk_Image_Record'Class;Pixbuf: access Gdk.Pixbuf.Gdk_Pixbuf_Record'Class);

Creates a new Gtk.Image.Gtk_Image displaying Pixbuf. The Gtk.Image.Gtk_Image does not assume a reference to the pixbuf; you still need to unref it if you own references. Gtk.Image.Gtk_Image will add its own reference rather than adopting yours. Note that this function just creates an Gtk.Image.Gtk_Image from the pixbuf. The Gtk.Image.Gtk_Image created will not react to state changes. Should you want that, you should use Gtk.Image.Gtk_New. "pixbuf": a Gdk.Pixbuf.Gdk_Pixbuf, or null

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Image: out Gtk_Image;Pixmap: Gdk.Pixmap.Gdk_Pixmap;Mask: Gdk.Bitmap.Gdk_Bitmap);

### Initialize

- Goto spec in source

    procedure Initialize (Image: access Gtk_Image_Record'Class;Pixmap: Gdk.Pixmap.Gdk_Pixmap;Mask: Gdk.Bitmap.Gdk_Bitmap);

Creates a Gtk.Image.Gtk_Image widget displaying Pixmap with a Mask. A GdkPixmap is a server-side image buffer in the pixel format of the current display. The Gtk.Image.Gtk_Image does not assume a reference to the pixmap or mask; you still need to unref them if you own references. Gtk.Image.Gtk_Image will add its own reference rather than adopting yours. "pixmap": a GdkPixmap, or null "mask": a GdkBitmap, or null

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Image: out Gtk_Image;Stock_Id: UTF8_String;Size: Gtk.Enums.Gtk_Icon_Size);

### Initialize

- Goto spec in source

    procedure Initialize (Image: access Gtk_Image_Record'Class;Stock_Id: UTF8_String;Size: Gtk.Enums.Gtk_Icon_Size);

Creates a Gtk.Image.Gtk_Image displaying a stock icon. Sample stock icon names are GTK_STOCK_OPEN, GTK_STOCK_QUIT. Sample stock sizes are GTK_ICON_SIZE_MENU, GTK_ICON_SIZE_SMALL_TOOLBAR. If the stock icon name isn't known, the image will be empty. You can register your own stock icon names, see Gtk.Icon_Factory.Add_Default and Gtk.Icon_Factory.Add. "stock_id": a stock icon name "size": a stock icon size

### Get_Type

- Goto spec in source
- Goto body in source

    function Get_Type return Glib.GType;

### Clear

- Goto spec in source

    procedure Clear (Image: access Gtk_Image_Record);

Resets the image to be empty. Since: gtk+ 2.8

### Get

- Goto spec in source

    function Get (Image: access Gtk_Image_Record) return Gdk.Pixbuf.Gdk_Pixbuf_Animation;

### Get

- Goto spec in source

    procedure Get (Image: access Gtk_Image_Record;Gicon: out Glib.G_Icon.G_Icon;Size: out Gtk.Enums.Gtk_Icon_Size);

### Get

- Goto spec in source

    procedure Get (Image: access Gtk_Image_Record;Icon_Set: out Gtk.Icon_Factory.Gtk_Icon_Set;Size: out Gtk.Enums.Gtk_Icon_Size);

### Get

- Goto spec in source

    procedure Get (Image: access Gtk_Image_Record;Gdk_Image: out Gdk.Image.Gdk_Image;Mask: out Gdk.Bitmap.Gdk_Bitmap);

### Get

- Goto spec in source

    function Get (Image: access Gtk_Image_Record) return Gdk.Pixbuf.Gdk_Pixbuf;

### Get

- Goto spec in source

    procedure Get (Image: access Gtk_Image_Record;Pixmap: out Gdk.Pixmap.Gdk_Pixmap;Mask: out Gdk.Bitmap.Gdk_Bitmap);

Gets the pixmap and mask being displayed by the Gtk.Image.Gtk_Image. The storage type of the image must be %GTK_IMAGE_EMPTY or %GTK_IMAGE_PIXMAP (see Gtk.Image.Get_Storage_Type). The caller of this function does not own a reference to the returned pixmap and mask. "pixmap": location to store the pixmap, or null "mask": location to store the mask, or null

### Get_Pixel_Size

- Goto spec in source

    function Get_Pixel_Size (Image: access Gtk_Image_Record) return Gint;

### Set_Pixel_Size

- Goto spec in source

    procedure Set_Pixel_Size (Image: access Gtk_Image_Record;Pixel_Size: Gint);

Sets the pixel size to use for named icons. If the pixel size is set to a value != -1, it is used instead of the icon size set by Gtk.Image.Set_From_Icon_Name. Since: gtk+ 2.6 "pixel_size": the new pixel size

### Get_Storage_Type

- Goto spec in source

    function Get_Storage_Type (Image: access Gtk_Image_Record) return Gtk_Image_Type;

Gets the type of representation being used by the Gtk.Image.Gtk_Image to store image data. If the Gtk.Image.Gtk_Image has no image data, the return value will be %GTK_IMAGE_EMPTY.

### Set

- Goto spec in source

    procedure Set (Image: access Gtk_Image_Record;Animation: Gdk.Pixbuf.Gdk_Pixbuf_Animation);

### Set

- Goto spec in source

    procedure Set (Image: access Gtk_Image_Record;Filename: UTF8_String);

### Set

- Goto spec in source

    procedure Set (Image: access Gtk_Image_Record;Icon: Glib.G_Icon.G_Icon;Size: Gtk.Enums.Gtk_Icon_Size);

### Set

- Goto spec in source

    procedure Set (Image: access Gtk_Image_Record;Icon_Set: Gtk.Icon_Factory.Gtk_Icon_Set;Size: Gtk.Enums.Gtk_Icon_Size);

### Set

- Goto spec in source

    procedure Set (Image: access Gtk_Image_Record;Gdk_Image: Gdk.Image.Gdk_Image;Mask: Gdk.Bitmap.Gdk_Bitmap);

### Set

- Goto spec in source

    procedure Set (Image: access Gtk_Image_Record;Pixbuf: access Gdk.Pixbuf.Gdk_Pixbuf_Record'Class);

### Set

- Goto spec in source

    procedure Set (Image: access Gtk_Image_Record;Pixmap: Gdk.Pixmap.Gdk_Pixmap;Mask: Gdk.Bitmap.Gdk_Bitmap);

### Set

- Goto spec in source

    procedure Set (Image: access Gtk_Image_Record;Stock_Id: UTF8_String;Size: Gtk.Enums.Gtk_Icon_Size);

See Gtk.Image.Gtk_New for details. "stock_id": a stock icon name "size": a stock icon size

### Set_From_Icon_Name

- Goto spec in source

    procedure Set_From_Icon_Name (Image: access Gtk_Image_Record;Icon_Name: UTF8_String;Size: Gtk.Enums.Gtk_Icon_Size);

See Gtk.Image.Gtk_New_From_Icon_Name for details. Since: gtk+ 2.6 "icon_name": an icon name "size": an icon size

### Get

- Goto spec in source

    function Get (Image: access Gtk_Image_Record;Size: access Gtk.Enums.Gtk_Icon_Size) return String;

Get the stock_id for the image displayed

### Get_Icon_Name

- Goto spec in source

    procedure Get_Icon_Name (Image: access Gtk_Image_Record;Name: out GNAT.Strings.String_Access;Size: out Gtk.Enums.Gtk_Icon_Size);

### +

- Goto spec in source

    function "+" (Widget: access Gtk_Image_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Buildable.To_Interface;

### -

- Goto spec in source

    function "-" (Interf: Gtk.Buildable.Gtk_Buildable) return Gtk_Image renames Implements_Buildable.To_Object;