[gtkmm] Gdk::DrawingContext: Add property_clip()



commit 955d4c88007f99afeed87dba74e94875bc53404d
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Mon Oct 16 15:07:39 2017 +0200

    Gdk::DrawingContext: Add property_clip()
    
    property_clip() can be added now that there is a Glib::Value<>
    specialization for Cairo::RefPtr<Cairo::Region>.

 gdk/src/drawingcontext.hg |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gdk/src/drawingcontext.hg b/gdk/src/drawingcontext.hg
index b4c3883..0ff89e3 100644
--- a/gdk/src/drawingcontext.hg
+++ b/gdk/src/drawingcontext.hg
@@ -67,9 +67,7 @@ public:
   _WRAP_METHOD(static Glib::RefPtr<DrawingContext> get_drawing_context_from_cairo_context(const 
::Cairo::RefPtr< ::Cairo::Context>& cr), gdk_cairo_get_drawing_context, refreturn)
 
   _WRAP_PROPERTY("window", Glib::RefPtr<Window>)
-  // A wrapped property_clip() would require a template specialization
-  // Glib::Value<Cairo::RefPtr<T>>.
-  //_WRAP_PROPERTY("clip", ::Cairo::RefPtr< ::Cairo::Region>)
+  _WRAP_PROPERTY("clip", ::Cairo::RefPtr< ::Cairo::Region>, newin "3,92")
   _WRAP_PROPERTY("paint-context", Glib::RefPtr<DrawContext>)
 
   // There are no signals or vfuncs.


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