type Gtk_Cell_Renderer_Pixbuf_Record is new Gtk_Cell_Renderer_Record with null record;
type Gtk_Cell_Renderer_Pixbuf is access all Gtk_Cell_Renderer_Pixbuf_Record'Class;
Follow_State_Property : constant Glib.Properties.Property_Boolean;
G_Icon_Property : constant Glib.Properties.Property_Boxed;
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
( | Self | : out Gtk_Cell_Renderer_Pixbuf); |
procedure Initialize
( | Self | : not null access Gtk_Cell_Renderer_Pixbuf_Record'Class); |
function Gtk_Cell_Renderer_Pixbuf_New return Gtk_Cell_Renderer_Pixbuf;
function Get_Type return Glib.GType;
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.