Index

Package: Cell_Renderer_Pixbuf

Description

package Gtk.Cell_Renderer_Pixbuf is

A Gtk.Cell_Renderer_Pixbuf.Gtk_Cell_Renderer_Pixbuf can be used to render an image in a cell. It allows to render either a given Gdk.Pixbuf.Gdk_Pixbuf (set via the Gtk.Cell_Renderer_Pixbuf.Gtk_Cell_Renderer_Pixbuf:pixbuf property) or a stock icon (set via the Gtk.Cell_Renderer_Pixbuf.Gtk_Cell_Renderer_Pixbuf:stock-id property).

To support the tree view, Gtk.Cell_Renderer_Pixbuf.Gtk_Cell_Renderer_Pixbuf also supports rendering two alternative pixbufs, when the Gtk.Cell_Renderer.Gtk_Cell_Renderer:is-expander property is True. If the Gtk.Cell_Renderer.Gtk_Cell_Renderer:is-expanded property is True and the Gtk.Cell_Renderer_Pixbuf.Gtk_Cell_Renderer_Pixbuf:pixbuf-expander-open property is set to a pixbuf, it renders that pixbuf, if the Gtk.Cell_Renderer.Gtk_Cell_Renderer:is-expanded property is False and the Gtk.Cell_Renderer_Pixbuf.Gtk_Cell_Renderer_Pixbuf:pixbuf-expander-closed property is set to a pixbuf, it renders that one.

Classes

Gtk_Cell_Renderer_Pixbuf_Record

type Gtk_Cell_Renderer_Pixbuf_Record is new Gtk_Cell_Renderer_Record with null record;

Ancestors:

Primitive operations:

Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)
Gtk.Cell_Renderer.Activate (Inherited)
Gtk.Cell_Renderer.Get_Aligned_Area (Inherited)
Gtk.Cell_Renderer.Get_Alignment (Inherited)
Gtk.Cell_Renderer.Get_Fixed_Size (Inherited)
Gtk.Cell_Renderer.Get_Padding (Inherited)
Gtk.Cell_Renderer.Get_Preferred_Height (Inherited)
Gtk.Cell_Renderer.Get_Preferred_Height_For_Width (Inherited)
Gtk.Cell_Renderer.Get_Preferred_Size (Inherited)
Gtk.Cell_Renderer.Get_Preferred_Width (Inherited)
Gtk.Cell_Renderer.Get_Preferred_Width_For_Height (Inherited)
Gtk.Cell_Renderer.Get_Request_Mode (Inherited)
Gtk.Cell_Renderer.Get_Sensitive (Inherited)
Gtk.Cell_Renderer.Get_Size (Inherited)
Gtk.Cell_Renderer.Get_State (Inherited)
Gtk.Cell_Renderer.Get_Visible (Inherited)
Gtk.Cell_Renderer.Is_Activatable (Inherited)
Gtk.Cell_Renderer.On_Editing_Canceled (Inherited)
Gtk.Cell_Renderer.On_Editing_Canceled (Inherited)
Gtk.Cell_Renderer.On_Editing_Started (Inherited)
Gtk.Cell_Renderer.On_Editing_Started (Inherited)
Gtk.Cell_Renderer.Render (Inherited)
Gtk.Cell_Renderer.Set_Alignment (Inherited)
Gtk.Cell_Renderer.Set_Fixed_Size (Inherited)
Gtk.Cell_Renderer.Set_Padding (Inherited)
Gtk.Cell_Renderer.Set_Sensitive (Inherited)
Gtk.Cell_Renderer.Set_Visible (Inherited)
Gtk.Cell_Renderer.Start_Editing (Inherited)
Gtk.Cell_Renderer.Stop_Editing (Inherited)

Types

Gtk_Cell_Renderer_Pixbuf

type Gtk_Cell_Renderer_Pixbuf is access all Gtk_Cell_Renderer_Pixbuf_Record'Class;

Constants & Global variables

Follow_State_Property (Glib.Properties.Property_Boolean)

Follow_State_Property : constant Glib.Properties.Property_Boolean;
Specifies whether the rendered pixbuf should be colorized according to the Gtk.Cell_Renderer.Gtk_Cell_Renderer_State.

G_Icon_Property (Glib.Properties.Property_Boxed)

G_Icon_Property : constant Glib.Properties.Property_Boxed;
Type: Glib.G_Icon.G_Icon The GIcon representing the icon to display. If the icon theme is changed, the image will be updated automatically.

Icon_Name_Property (Glib.Properties.Property_String)

Icon_Name_Property : constant Glib.Properties.Property_String;
The name of the themed icon to display. This property only has an effect if not overridden by "stock_id" or "pixbuf" properties.

Pixbuf_Expander_Closed_Property (Glib.Properties.Property_Object)

Pixbuf_Expander_Closed_Property : constant Glib.Properties.Property_Object;

Pixbuf_Expander_Open_Property (Glib.Properties.Property_Object)

Pixbuf_Expander_Open_Property : constant Glib.Properties.Property_Object;

Stock_Detail_Property (Glib.Properties.Property_String)

Stock_Detail_Property : constant Glib.Properties.Property_String;

Stock_Size_Property (Glib.Properties.Property_Uint)

Stock_Size_Property : constant Glib.Properties.Property_Uint;

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Self: out Gtk_Cell_Renderer_Pixbuf);

Initialize

procedure Initialize 
(Self: not null access Gtk_Cell_Renderer_Pixbuf_Record'Class);
Creates a new Gtk.Cell_Renderer_Pixbuf.Gtk_Cell_Renderer_Pixbuf. Adjust rendering parameters using object properties. Object properties can be set globally (with g_object_set). Also, with Gtk.Tree_View_Column.Gtk_Tree_View_Column, you can bind a property to a value in a Gtk.Tree_Model.Gtk_Tree_Model. For example, you can bind the "pixbuf" property on the cell renderer to a pixbuf value in the model, thus rendering a different image in each row of the Gtk.Tree_View.Gtk_Tree_View.

Gtk_Cell_Renderer_Pixbuf_New

function Gtk_Cell_Renderer_Pixbuf_New return Gtk_Cell_Renderer_Pixbuf;
Creates a new Gtk.Cell_Renderer_Pixbuf.Gtk_Cell_Renderer_Pixbuf. Adjust rendering parameters using object properties. Object properties can be set globally (with g_object_set). Also, with Gtk.Tree_View_Column.Gtk_Tree_View_Column, you can bind a property to a value in a Gtk.Tree_Model.Gtk_Tree_Model. For example, you can bind the "pixbuf" property on the cell renderer to a pixbuf value in the model, thus rendering a different image in each row of the Gtk.Tree_View.Gtk_Tree_View.

Get_Type

function Get_Type return Glib.GType;