Index

Package: Cell_Renderer_Pixbuf

Description

package Gtk.Cell_Renderer_Pixbuf is

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

To support the tree view, Gtk_Cell_Renderer_Pixbuf also supports rendering two alternative pixbufs, when the is-expander property is TRUE. If the is-expanded property is TRUE and the pixbuf-expander-open property is set to a pixbuf, it renders that pixbuf, if the is-expanded property is FALSE and the pixbuf-expander-closed property is set to a pixbuf, it renders that one.

Binding from C File version 2.14

Classes

Gtk_Cell_Renderer_Pixbuf_Record

type Gtk_Cell_Renderer_Pixbuf_Record is
     new Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record with private;

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_Fixed_Size (Inherited)
Gtk.Cell_Renderer.Get_Size (Inherited)
Gtk.Cell_Renderer.Render (Inherited)
Gtk.Cell_Renderer.Set_Fixed_Size (Inherited)
Gtk.Cell_Renderer.Start_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;

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 
(Widget: out Gtk_Cell_Renderer_Pixbuf);

Initialize

procedure Initialize 
(Widget: access Gtk_Cell_Renderer_Pixbuf_Record'Class);
Creates or initializes a new renderer

Get_Type

function Get_Type return Gtk.Gtk_Type;
Return the internal value associated with this widget.