7 #include <glibmm/ustring.h>
8 #include <sigc++/sigc++.h>
34 #include <giomm/icon.h>
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
44 {
class Image_Class; }
71 #ifndef DOXYGEN_SHOULD_SKIP_THIS
79 static GType value_type() G_GNUC_CONST;
110 #ifndef DOXYGEN_SHOULD_SKIP_THIS
111 typedef Image CppObjectType;
119 #ifndef DOXYGEN_SHOULD_SKIP_THIS
123 static CppClassType image_class_;
130 explicit Image(
const Glib::ConstructParams& construct_params);
136 #ifndef DOXYGEN_SHOULD_SKIP_THIS
137 static GType get_type() G_GNUC_CONST;
140 static GType get_base_type() G_GNUC_CONST;
174 explicit Image(
const Glib::RefPtr<Gdk::Pixmap>&
pixmap,
const Glib::RefPtr<Gdk::Bitmap>& mask);
180 explicit Image(
const Glib::RefPtr<Gdk::Image>&
image,
const Glib::RefPtr<Gdk::Bitmap>& mask);
193 explicit Image(
const std::string& file);
214 #ifndef GTKMM_DISABLE_DEPRECATED
236 Image(
const Glib::RefPtr<Gdk::PixbufAnimation>& animation);
244 void set(
const Glib::RefPtr<Gdk::Pixmap>&
pixmap,
const Glib::RefPtr<Gdk::Bitmap>& mask);
251 void set(
const Glib::RefPtr<Gdk::Image>& gdk_image,
const Glib::RefPtr<Gdk::Bitmap>& mask);
257 void set(
const std::string& filename);
273 #ifndef GTKMM_DISABLE_DEPRECATED
299 void set(
const Glib::RefPtr<Gdk::PixbufAnimation>& animation);
306 void set(
const Glib::RefPtr<const Gio::Icon>& icon,
IconSize size);
334 void get_image(Glib::RefPtr<Gdk::Image>& gdk_image, Glib::RefPtr<Gdk::Bitmap>& mask)
const;
471 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gdk::Pixmap> >
property_mask()
const;
Glib::RefPtr< const Gio::Icon > get_gicon(Gtk::IconSize &icon_size) const
Glib::PropertyProxy< Glib::RefPtr< Gdk::Pixbuf > > property_pixbuf()
Glib::PropertyProxy< Glib::RefPtr< Gdk::PixbufAnimation > > property_pixbuf_animation()
Image(const IconSet &icon_set, IconSize icon_size)
Glib::PropertyProxy< Glib::ustring > property_file()
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::PixbufAnimation > > property_pixbuf_animation() const
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_file() const
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Pixbuf > > property_pixbuf() const
void get_pixmap(Glib::RefPtr< Gdk::Pixmap > &pixmap, Glib::RefPtr< Gdk::Bitmap > &mask) const
Glib::PropertyProxy< Glib::ustring > property_stock()
void set_pixel_size(int pixel_size)
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gio::Icon > > property_gicon() const
Image(const Glib::RefPtr< Gdk::Pixbuf > &pixbuf)
Glib::RefPtr< const Gdk::PixbufAnimation > get_animation() const
Image(const Gtk::StockID &stock_id, IconSize size)
void set(IconSet &icon_set, IconSize size)
GtkImage * gobj()
Provides access to the underlying C GtkObject.
Image(const Glib::RefPtr< Gdk::Pixmap > &pixmap, const Glib::RefPtr< Gdk::Bitmap > &mask)
Glib::PropertyProxy< int > property_icon_size()
void set(const Glib::RefPtr< Gdk::Image > &gdk_image, const Glib::RefPtr< Gdk::Bitmap > &mask)
Glib::ustring get_icon_name(IconSize &size)
Gtk::Image * wrap(GtkImage *object, bool take_copy=false)
void set(const Glib::RefPtr< Gdk::Pixbuf > &pixbuf)
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Pixmap > > property_mask() const
void set(const IconSet &icon_set, IconSize size)
void set(const Glib::RefPtr< const Gio::Icon > &icon, IconSize size)
void set(const Glib::RefPtr< Gdk::Pixmap > &pixmap, const Glib::RefPtr< Gdk::Bitmap > &mask)
void set_from_icon_name(const Glib::ustring &icon_name, IconSize size)
void get_image(Glib::RefPtr< Gdk::Image > &gdk_image, Glib::RefPtr< Gdk::Bitmap > &mask) const
void set(const Glib::RefPtr< Gdk::PixbufAnimation > &animation)
Glib::PropertyProxy< int > property_pixel_size()
Glib::PropertyProxy_ReadOnly< Gtk::IconSet > property_icon_set() const
Glib::ustring get_icon_name() const
Glib::PropertyProxy< Glib::ustring > property_icon_name()
Glib::RefPtr< const Gdk::Pixbuf > get_pixbuf() const
int get_pixel_size() const
Glib::PropertyProxy< Glib::RefPtr< Gio::Icon > > property_gicon()
ImageType get_storage_type() const
Image(const Glib::RefPtr< Gdk::PixbufAnimation > &animation)
Glib::RefPtr< Gdk::PixbufAnimation > get_animation()
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Image > > property_image() const
Image(IconSet &icon_set, IconSize icon_size)
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_icon_name() const
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Gdk::Pixmap > > property_pixmap() const
Image(const Glib::RefPtr< Gdk::Image > &image, const Glib::RefPtr< Gdk::Bitmap > &mask)
Glib::PropertyProxy_ReadOnly< int > property_pixel_size() const
void set(const std::string &filename)
void set(const Gtk::StockID &stock_id, IconSize size)
void get_icon_set(IconSet &icon_set, IconSize &size) const
Glib::RefPtr< Gio::Icon > get_gicon(Gtk::IconSize &icon_size)
Glib::PropertyProxy< Glib::RefPtr< Gdk::Image > > property_image()
Glib::PropertyProxy< Glib::RefPtr< Gdk::Pixmap > > property_mask()
Image(const std::string &file)
const GtkImage * gobj() const
Provides access to the underlying C GtkObject.
Glib::PropertyProxy< Gtk::IconSet > property_icon_set()
Glib::PropertyProxy_ReadOnly< int > property_icon_size() const
Glib::PropertyProxy_ReadOnly< ImageType > property_storage_type() const
Glib::RefPtr< Gdk::Pixbuf > get_pixbuf()
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_stock() const
Glib::PropertyProxy< Glib::RefPtr< Gdk::Pixmap > > property_pixmap()
void get_stock(Gtk::StockID &stock_id, IconSize &size) const
GtkImagePixmapData pixmap
GtkImageIconSetData icon_set
GtkImagePixbufData pixbuf
void pixel_size(const std::string &str, const Pango::FontDescription &font, int &width, int &height)