[gtkmm] Image: Add set_from_resource().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Image: Add set_from_resource().
- Date: Sat, 3 Mar 2012 18:43:34 +0000 (UTC)
commit 4a5a3c5217e464417f171e9ce2956add3a308aa6
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Mar 3 19:39:14 2012 +0100
Image: Add set_from_resource().
* gtk/src/image.hg: Wrap gtk_image_set_from_resource().
ChangeLog | 6 ++++++
gtk/src/image.hg | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b3bd1be..772e4c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2012-03-03 Murray Cumming <murrayc murrayc com>
+ Image: Add set_from_resource().
+
+ * gtk/src/image.hg: Wrap gtk_image_set_from_resource().
+
+2012-03-03 Murray Cumming <murrayc murrayc com>
+
Gtk::Window: Add new API.
* gtk/src/window.[hg|ccg]: Add unset/set/get_attached_to().
diff --git a/gtk/src/image.hg b/gtk/src/image.hg
index 563ff7d..f597f10 100644
--- a/gtk/src/image.hg
+++ b/gtk/src/image.hg
@@ -99,6 +99,7 @@ public:
explicit Image(const Glib::RefPtr<Gdk::PixbufAnimation>& animation);
_WRAP_METHOD(void set(const std::string& filename), gtk_image_set_from_file)
+ _WRAP_METHOD(void set_from_resource(const std::string& resource_path), gtk_image_set_from_resource)
_WRAP_METHOD(void set(const Glib::RefPtr<Gdk::Pixbuf>& pixbuf), gtk_image_set_from_pixbuf)
_WRAP_METHOD(void set(const Gtk::StockID& stock_id, IconSize size), gtk_image_set_from_stock)
_WRAP_METHOD(void set(const Glib::RefPtr<IconSet>& icon_set, IconSize size), gtk_image_set_from_icon_set)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]