Renders a pixbuf in a cell. More...
Inherits Gtk::CellRenderer.
Public Member Functions | |
virtual | ~CellRendererPixbuf () |
GtkCellRendererPixbuf* | gobj () |
Provides access to the underlying C GtkObject. | |
const GtkCellRendererPixbuf* | gobj () const |
Provides access to the underlying C GtkObject. | |
CellRendererPixbuf () | |
Glib::PropertyProxy < Glib::RefPtr< Gdk::Pixbuf > > | property_pixbuf () |
The pixbuf to render. | |
Glib::PropertyProxy_ReadOnly < Glib::RefPtr< Gdk::Pixbuf > > | property_pixbuf () const |
The pixbuf to render. | |
Glib::PropertyProxy < Glib::RefPtr< Gdk::Pixbuf > > | property_pixbuf_expander_open () |
Pixbuf for open expander. | |
Glib::PropertyProxy_ReadOnly < Glib::RefPtr< Gdk::Pixbuf > > | property_pixbuf_expander_open () const |
Pixbuf for open expander. | |
Glib::PropertyProxy < Glib::RefPtr< Gdk::Pixbuf > > | property_pixbuf_expander_closed () |
Pixbuf for closed expander. | |
Glib::PropertyProxy_ReadOnly < Glib::RefPtr< Gdk::Pixbuf > > | property_pixbuf_expander_closed () const |
Pixbuf for closed expander. | |
Glib::PropertyProxy < Glib::ustring > | property_stock_id () |
The stock ID of the stock icon to render. | |
Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_stock_id () const |
The stock ID of the stock icon to render. | |
Glib::PropertyProxy< guint > | property_stock_size () |
The GtkIconSize value that specifies the size of the rendered icon. | |
Glib::PropertyProxy_ReadOnly < guint > | property_stock_size () const |
The GtkIconSize value that specifies the size of the rendered icon. | |
Glib::PropertyProxy < Glib::ustring > | property_stock_detail () |
Render detail to pass to the theme engine. | |
Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_stock_detail () const |
Render detail to pass to the theme engine. | |
Glib::PropertyProxy < Glib::ustring > | property_icon_name () |
The name of the icon from the icon theme. | |
Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_icon_name () const |
The name of the icon from the icon theme. | |
Glib::PropertyProxy< bool > | property_follow_state () |
Whether the rendered pixbuf should be colorized according to the state. | |
Glib::PropertyProxy_ReadOnly < bool > | property_follow_state () const |
Whether the rendered pixbuf should be colorized according to the state. | |
Glib::PropertyProxy < Glib::RefPtr< Gio::Icon > > | property_gicon () |
The GIcon being displayed. | |
Glib::PropertyProxy_ReadOnly < Glib::RefPtr< Gio::Icon > > | property_gicon () const |
The GIcon being displayed. | |
Related Functions | |
(Note that these are not member functions.) | |
Gtk::CellRendererPixbuf* | wrap (GtkCellRendererPixbuf* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
Renders a pixbuf in a cell.
A CellRendererPixbuf can be used to render an image in a cell. It allows you to render either a given Pixbuf (set via the pixbuf property) or a stock icon (set via the stock_id property).
To support the tree view, CellRendererPixbuf also supports rendering two alternative pixbufs, when the is_expanded 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.
virtual Gtk::CellRendererPixbuf::~CellRendererPixbuf | ( | ) | [virtual] |
Gtk::CellRendererPixbuf::CellRendererPixbuf | ( | ) |
const GtkCellRendererPixbuf* Gtk::CellRendererPixbuf::gobj | ( | ) | const [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::CellRenderer.
GtkCellRendererPixbuf* Gtk::CellRendererPixbuf::gobj | ( | ) | [inline] |
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::CellRenderer.
Glib::PropertyProxy_ReadOnly<bool> Gtk::CellRendererPixbuf::property_follow_state | ( | ) | const |
Whether the rendered pixbuf should be colorized according to the state.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> Gtk::CellRendererPixbuf::property_follow_state | ( | ) |
Whether the rendered pixbuf should be colorized according to the state.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gio::Icon> > Gtk::CellRendererPixbuf::property_gicon | ( | ) | const |
The GIcon being displayed.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< Glib::RefPtr<Gio::Icon> > Gtk::CellRendererPixbuf::property_gicon | ( | ) |
The GIcon being displayed.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Glib::ustring> Gtk::CellRendererPixbuf::property_icon_name | ( | ) | const |
The name of the icon from the icon theme.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Glib::ustring> Gtk::CellRendererPixbuf::property_icon_name | ( | ) |
The name of the icon from the icon theme.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixbuf> > Gtk::CellRendererPixbuf::property_pixbuf | ( | ) | const |
The pixbuf to render.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< Glib::RefPtr<Gdk::Pixbuf> > Gtk::CellRendererPixbuf::property_pixbuf | ( | ) |
The pixbuf to render.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixbuf> > Gtk::CellRendererPixbuf::property_pixbuf_expander_closed | ( | ) | const |
Pixbuf for closed expander.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< Glib::RefPtr<Gdk::Pixbuf> > Gtk::CellRendererPixbuf::property_pixbuf_expander_closed | ( | ) |
Pixbuf for closed expander.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixbuf> > Gtk::CellRendererPixbuf::property_pixbuf_expander_open | ( | ) | const |
Pixbuf for open expander.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy< Glib::RefPtr<Gdk::Pixbuf> > Gtk::CellRendererPixbuf::property_pixbuf_expander_open | ( | ) |
Pixbuf for open expander.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Glib::ustring> Gtk::CellRendererPixbuf::property_stock_detail | ( | ) | const |
Render detail to pass to the theme engine.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Glib::ustring> Gtk::CellRendererPixbuf::property_stock_detail | ( | ) |
Render detail to pass to the theme engine.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Glib::ustring> Gtk::CellRendererPixbuf::property_stock_id | ( | ) | const |
The stock ID of the stock icon to render.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Glib::ustring> Gtk::CellRendererPixbuf::property_stock_id | ( | ) |
The stock ID of the stock icon to render.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<guint> Gtk::CellRendererPixbuf::property_stock_size | ( | ) | const |
The GtkIconSize value that specifies the size of the rendered icon.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<guint> Gtk::CellRendererPixbuf::property_stock_size | ( | ) |
The GtkIconSize value that specifies the size of the rendered icon.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Gtk::CellRendererPixbuf* wrap | ( | GtkCellRendererPixbuf * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |