type Gtk_Cell_Renderer_Pixbuf_Record is new Gtk.Cell_Renderer.Gtk_Cell_Renderer_Record with private;
type Gtk_Cell_Renderer_Pixbuf is access all Gtk_Cell_Renderer_Pixbuf_Record'Class;
Follow_State_Property : constant Glib.Properties.Property_Boolean;
Gicon_Property : constant Glib.Properties.Property_Object;
Icon_Name_Property : constant Glib.Properties.Property_String;
Pixbuf_Property : constant Glib.Properties.Property_Object;
Pixbuf_Expander_Closed_Property : constant Glib.Properties.Property_Object;
Pixbuf_Expander_Open_Property : constant Glib.Properties.Property_Object;
Stock_Detail_Property : constant Glib.Properties.Property_String;
Stock_Id_Property : constant Glib.Properties.Property_String;
Stock_Size_Property : constant Glib.Properties.Property_Uint;
procedure Gtk_New
( | Widget | : out Gtk_Cell_Renderer_Pixbuf); |
procedure Initialize
( | Widget | : access Gtk_Cell_Renderer_Pixbuf_Record'Class); |
function Get_Type return Gtk.Gtk_Type;
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