[gtkmm] Gtk::Window: Add begin/move_resize_drag() overloads that take a Device.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::Window: Add begin/move_resize_drag() overloads that take a Device.
- Date: Fri, 30 Mar 2012 08:32:46 +0000 (UTC)
commit 2c7b84537890785c7bfd51a5e8bac4e211ae317c
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Mar 30 10:11:50 2012 +0200
Gtk::Window: Add begin/move_resize_drag() overloads that take a Device.
* gdk/src/window.hg: Wrap gdk_window_begin_resize_drag_for_device()
and gdk_window_begin_move_drag_for_device().
ChangeLog | 7 +++++++
gdk/src/window.hg | 7 ++++++-
2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3066120..567005c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2012-03-30 Murray Cumming <murrayc murrayc com>
+ Gtk::Window: Add begin/move_resize_drag() overloads that take a Device.
+
+ * gdk/src/window.hg: Wrap gdk_window_begin_resize_drag_for_device()
+ and gdk_window_begin_move_drag_for_device().
+
+2012-03-30 Murray Cumming <murrayc murrayc com>
+
Regenerate the .defs files.
* gdk/src/gdk_docs.xml:
diff --git a/gdk/src/window.hg b/gdk/src/window.hg
index 5cfe1c5..623da85 100644
--- a/gdk/src/window.hg
+++ b/gdk/src/window.hg
@@ -262,9 +262,14 @@ public:
_IGNORE(gdk_window_get_drag_protocol)
- _WRAP_METHOD(void begin_resize_drag(WindowEdge edge, int button, int root_x, int root_y, guint32 timestamp), gdk_window_begin_resize_drag)
+ _WRAP_METHOD(void begin_resize_drag(WindowEdge edge, int button, int root_x, int root_y, guint32 timestamp), gdk_window_begin_resize_drag)
+
+ _WRAP_METHOD(void resize_drag(WindowEdge edge, const Glib::RefPtr<Device>& device, int button, int root_x, int root_y, guint32 timestamp), gdk_window_begin_resize_drag_for_device)
+
_WRAP_METHOD(void begin_move_drag(int button, int root_x, int root_y, guint32 timestamp), gdk_window_begin_move_drag)
+ _WRAP_METHOD(void begin_move_drag(const Glib::RefPtr<Device>& device, int button, int root_x, int root_y, guint32 timestamp), gdk_window_begin_move_drag_for_device)
+
/** Starts a drag and creates a new drag context for it.
*
* This method is called by the drag source.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]