[gtkmm] UIManager: Wrap the GResource convenience API.
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] UIManager: Wrap the GResource convenience API.
- Date: Thu, 26 Apr 2012 12:04:45 +0000 (UTC)
commit 8698210ad65e8011e48b194f100b52e38333f74c
Author: Kalev Lember <kalevlember gmail com>
Date: Sat Apr 21 19:39:03 2012 +0300
UIManager: Wrap the GResource convenience API.
* uimanager.hg: Added add_ui_from_resource().
Bug #674545.
ChangeLog | 7 +++++++
gtk/src/uimanager.hg | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c5ee2b1..2ce9145 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-04-21 Kalev Lember <kalevlember gmail com>
+ UIManager: Wrap the GResource convenience API.
+
+ * uimanager.hg: Added add_ui_from_resource().
+ Bug #674545.
+
+2012-04-21 Kalev Lember <kalevlember gmail com>
+
Builder: Wrap the GResource convenience API.
* builder.[hg|ccg]: Added create_from_resource() and
diff --git a/gtk/src/uimanager.hg b/gtk/src/uimanager.hg
index 3006a5d..f60da85 100644
--- a/gtk/src/uimanager.hg
+++ b/gtk/src/uimanager.hg
@@ -225,6 +225,7 @@ public:
ui_merge_id add_ui_from_string(const Glib::ustring& buffer);
_IGNORE(gtk_ui_manager_add_ui_from_string)
_WRAP_METHOD(ui_merge_id add_ui_from_file(const Glib::ustring& filename), gtk_ui_manager_add_ui_from_file, errthrow)
+ _WRAP_METHOD(ui_merge_id add_ui_from_resource(const Glib::ustring& resource_path), gtk_ui_manager_add_ui_from_resource, errthrow)
//TODO: Is top=true a good default?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]