[gtkmm] Add a TODO comment about get_cursor().



commit 60b911d673feb6b36022bc2c5622d0879a33e08c
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Sep 18 09:26:44 2009 +0200

    Add a TODO comment about get_cursor().

 gdk/src/window.hg |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gdk/src/window.hg b/gdk/src/window.hg
index 04e0d16..1b1321f 100644
--- a/gdk/src/window.hg
+++ b/gdk/src/window.hg
@@ -171,7 +171,10 @@ public:
    */
   void set_cursor();
 
-  //TODO:_WRAP_METHOD(Cursor get_cursor(), gdk_window_get_cursor)
+  //TODO: GdkCursor is a ref-counted boxed type, 
+  //so we could add a copy constructor and then return by value.
+  //We would also need a Cursor::operator bool() to check for a null value. 
+  //TODO: _WRAP_METHOD(Cursor get_cursor(), gdk_window_get_cursor)
   
   _WRAP_METHOD(void get_user_data(gpointer* data), gdk_window_get_user_data)
   _WRAP_METHOD(void get_geometry(int& x, int& y, int& width, int& height, int& depth) const, gdk_window_get_geometry)



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