[gtkmm] Gtk::Clipboard, GLArea, ShortcutsShortcut: Add new methods and properties



commit 15d3274f0e9efaeab387255d7ed9af0bf0850b32
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Sun May 29 16:25:13 2016 +0200

    Gtk::Clipboard, GLArea, ShortcutsShortcut: Add new methods and properties
    
    * gtk/src/clipboard.hg: Add get_selection().
    * gtk/src/glarea.hg: Add set/get_use_es() and property_use_es().
    * gtk/src/shortcutsshortcut.hg: Add property_action_name().
    These methods and properties are new in gtk+ 3.22.

 gtk/src/clipboard.hg         |    1 +
 gtk/src/glarea.hg            |    5 ++++-
 gtk/src/shortcutsshortcut.hg |    1 +
 3 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gtk/src/clipboard.hg b/gtk/src/clipboard.hg
index d730ff1..106c0f4 100644
--- a/gtk/src/clipboard.hg
+++ b/gtk/src/clipboard.hg
@@ -292,6 +292,7 @@ public:
   _IGNORE(gtk_clipboard_set_can_store)
 
   _WRAP_METHOD(void store(), gtk_clipboard_store)
+  _WRAP_METHOD(GdkAtom get_selection() const, gtk_clipboard_get_selection)
 
   _WRAP_SIGNAL(void owner_change(GdkEventOwnerChange* event), "owner_change", no_default_handler)
 
diff --git a/gtk/src/glarea.hg b/gtk/src/glarea.hg
index 2d0cf1d..6392ac9 100644
--- a/gtk/src/glarea.hg
+++ b/gtk/src/glarea.hg
@@ -89,17 +89,20 @@ public:
   _WRAP_METHOD(void set_auto_render(bool auto_render = true), gtk_gl_area_set_auto_render, newin "3,18")
   _WRAP_METHOD(void get_required_version(int& major, int& minor) const, gtk_gl_area_get_required_version, 
newin "3,18")
   _WRAP_METHOD(void set_required_version(int major, int minor), gtk_gl_area_set_required_version, newin 
"3,18")
+  _WRAP_METHOD(bool get_use_es() const, gtk_gl_area_get_use_es)
+  _WRAP_METHOD(void set_use_es(bool use_es = true), gtk_gl_area_set_use_es)
 
   _WRAP_PROPERTY("auto-render", bool, newin "3,18")
   _WRAP_PROPERTY("context", Glib::RefPtr<Gdk::GLContext>, newin "3,18")
   _WRAP_PROPERTY("has-alpha", bool, newin "3,18")
   _WRAP_PROPERTY("has-depth-buffer", bool, newin "3,18")
   _WRAP_PROPERTY("has-stencil-buffer", bool, newin "3,18")
+  _WRAP_PROPERTY("use-es", bool)
 
 #m4 _CONVERSION(`Glib::RefPtr<Gdk::GLContext>', `GdkGLContext*', Glib::unwrap_copy($3))
   _WRAP_SIGNAL(Glib::RefPtr<Gdk::GLContext> create_context(), "create_context", newin "3,18")
 #m4 _CONVERSION(`GdkGLContext*', `const Glib::RefPtr<Gdk::GLContext>&', Glib::wrap($3, true))
-  _WRAP_SIGNAL(bool render(const Glib::RefPtr<Gdk::GLContext>& context), render, newin "3,18")
+  _WRAP_SIGNAL(bool render(const Glib::RefPtr<Gdk::GLContext>& context), "render", newin "3,18")
   _WRAP_SIGNAL(void resize(int width, int height), "resize", newin "3,18")
 
 };
diff --git a/gtk/src/shortcutsshortcut.hg b/gtk/src/shortcutsshortcut.hg
index e6d8904..7d39ba9 100644
--- a/gtk/src/shortcutsshortcut.hg
+++ b/gtk/src/shortcutsshortcut.hg
@@ -49,6 +49,7 @@ public:
   _WRAP_PROPERTY("subtitle-set", bool)
   _WRAP_PROPERTY("direction", TextDirection)
   _WRAP_PROPERTY("shortcut-type", ShortcutType)
+  _WRAP_PROPERTY("action-name", Glib::ustring)
 
   _IGNORE_PROPERTY("accel-size-group", "title-size-group")dnl// Internal properties
 };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]