[gtkmm] Gdk::Device: Add get_last_event_window().



commit a07b446d57df0027e6c96086b6abff40e26553ef
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Mar 18 12:15:19 2014 +0100

    Gdk::Device: Add get_last_event_window().

 gdk/src/device.hg |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gdk/src/device.hg b/gdk/src/device.hg
index ca6c871..5ef2fc6 100644
--- a/gdk/src/device.hg
+++ b/gdk/src/device.hg
@@ -166,6 +166,10 @@ public:
 
   _WRAP_METHOD(Glib::RefPtr<const Window> get_window_at_position(int& win_x, int& win_y) const, 
gdk_device_get_window_at_position, refreturn, constversion)
 
+  //TODO: Would this be ambiguous? Test it.
+  //_WRAP_METHOD(Glib::RefPtr<Window> get_window_at_position(double& win_x, double& win_y), 
gdk_device_get_window_at_position, refreturn)
+  //_WRAP_METHOD(Glib::RefPtr<const Window> get_window_at_position(double& win_x, double& win_y) const, 
gdk_device_get_window_at_position_double, refreturn, constversion)
+
   /** Obtains the window underneath the device.
    * Returns an empty RefPtr if the window tree under the device is not known to GDK (for example, belongs 
to another application).
    * 
@@ -190,6 +194,8 @@ public:
    */
   Glib::RefPtr<const Window> get_window_at_position() const;
 
+  _WRAP_METHOD(Glib::RefPtr<Window> get_last_event_window(), gdk_device_get_last_event_window, refreturn)
+  _WRAP_METHOD(Glib::RefPtr<const Window> get_last_event_window() const, gdk_device_get_last_event_window, 
refreturn, constversion)
 };
 
 } // namespace Gdk


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