Toc Gallery Index Tree Gtk.Cell_Renderer_Pixbuf

Hierarchy

Description

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.

Types

Subprograms

  • procedure Gtk_New (Widget : out Gtk_Cell_Renderer_Pixbuf);
    procedure Initialize (Widget : access Gtk_Cell_Renderer_Pixbuf_Record'Class);
    Creates or initializes a new renderer
  • function Get_Type return Gtk.Gtk_Type;
    Return the internal value associated with this widget.

Signals

Properties

  • Follow_State_Property
    Boolean
    Whether the rendered pixbuf should be
  • Icon_Name_Property
    String
    The name of the icon from the icon theme
  • Pixbuf_Expander_Closed_Property
    Object
    Pixbuf for closed expander
  • Pixbuf_Expander_Open_Property
    Object
    Pixbuf for open expander
  • Pixbuf_Property
    Object
    The pixbuf to render
  • Stock_Detail_Property
    String
    Render detail to pass to the theme engine
  • Stock_Id_Property
    String
    The stock ID of the stock icon to render
  • Stock_Size_Property
    Uint
    The GtkIconSize value that specifies the size of the rendered

Alphabetical Index