Class: Gtk::CellRendererPixbuf

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#follow_state=(follow_state) ⇒ TrueClass

Specifies whether the rendered pixbuf should be colorized according to the Gtk::CellRendererState.

Parameters:

  • follow_state (TrueClass)

Returns:

  • (TrueClass)

    follow-state

  • (TrueClass)

    follow-state

#follow_state?TrueClass

Specifies whether the rendered pixbuf should be colorized according to the Gtk::CellRendererState.

Returns:

  • (TrueClass)

    follow-state

#giconGio::Icon

The GIcon representing the icon to display. If the icon theme is changed, the image will be updated automatically.

Returns:

#gicon=(gicon) ⇒ Gio::Icon

The GIcon representing the icon to display. If the icon theme is changed, the image will be updated automatically.

Parameters:

Returns:

#icon_nameString

The name of the themed icon to display. This property only has an effect if not overridden by “stock_id” or “pixbuf” properties.

Returns:

  • (String)

    icon-name

#icon_name=(icon_name) ⇒ String

The name of the themed icon to display. This property only has an effect if not overridden by “stock_id” or “pixbuf” properties.

Parameters:

  • icon_name (String)

Returns:

  • (String)

    icon-name

  • (String)

    icon-name

#newGtk::CellRenderer

Creates a new Gtk::CellRendererPixbuf. Adjust rendering parameters using object properties. Object properties can be set globally (with g_object_set()). Also, with Gtk::TreeViewColumn, you can bind a property to a value in a Gtk::TreeModel. 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::TreeView.

Returns:

#pixbufGdkPixbuf::Pixbuf

Returns pixbuf.

Returns:

#pixbuf=(pixbuf) ⇒ GdkPixbuf::Pixbuf

Parameters:

Returns:

#pixbuf_expander_closedGdkPixbuf::Pixbuf

Returns pixbuf-expander-closed.

Returns:

#pixbuf_expander_closed=(pixbuf_expander_closed) ⇒ GdkPixbuf::Pixbuf

Parameters:

Returns:

#pixbuf_expander_openGdkPixbuf::Pixbuf

Returns pixbuf-expander-open.

Returns:

#pixbuf_expander_open=(pixbuf_expander_open) ⇒ GdkPixbuf::Pixbuf

Parameters:

Returns:

#stock_detailString

Returns stock-detail.

Returns:

  • (String)

    stock-detail

#stock_detail=(stock_detail) ⇒ String

Parameters:

  • stock_detail (String)

Returns:

  • (String)

    stock-detail

  • (String)

    stock-detail

#stock_idString

Returns stock-id.

Returns:

  • (String)

    stock-id

#stock_id=(stock_id) ⇒ String

Parameters:

  • stock_id (String)

Returns:

  • (String)

    stock-id

  • (String)

    stock-id

#stock_sizeInteger

The Gtk::IconSize value that specifies the size of the rendered icon.

Returns:

  • (Integer)

    stock-size

#stock_size=(stock_size) ⇒ Integer

The Gtk::IconSize value that specifies the size of the rendered icon.

Parameters:

  • stock_size (Integer)

Returns:

  • (Integer)

    stock-size

  • (Integer)

    stock-size

#surfacecairo::Surface

Returns surface.

Returns:

  • (cairo::Surface)

    surface

#surface=(surface) ⇒ cairo::Surface

Parameters:

  • surface (cairo::Surface)

Returns:

  • (cairo::Surface)

    surface

  • (cairo::Surface)

    surface