[gtkmm] Widget: Add drag_begin() that takes x and y coordinates.



commit 28ff83f5c18572007f67ad6e273ecb216536f65c
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Aug 28 12:22:46 2013 +0200

    Widget: Add drag_begin() that takes x and y coordinates.
    
    * gtk/src/widget.hg: Wrap gtk_drag_begin_with_coordinates().

 gtk/src/widget.hg |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index acbeae9..b3cf813 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -506,6 +506,7 @@ public:
   _WRAP_METHOD(void drag_source_add_image_targets(), gtk_drag_source_add_image_targets)
 
   _WRAP_METHOD(Glib::RefPtr<Gdk::DragContext> drag_begin(const Glib::RefPtr<TargetList>& targets, 
Gdk::DragAction actions, int button, GdkEvent* event), gtk_drag_begin, refreturn)
+  _WRAP_METHOD(Glib::RefPtr<Gdk::DragContext> drag_begin(const Glib::RefPtr<TargetList>& targets, 
Gdk::DragAction actions, int button, GdkEvent* event, int x, int y), gtk_drag_begin_with_coordinates, 
refreturn)
   _WRAP_METHOD(bool drag_check_threshold(int start_x, int start_y, int current_x, int current_y), 
gtk_drag_check_threshold)
   _IGNORE(_gtk_drag_source_handle_event, _gtk_drag_dest_handle_event)
 


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