[gtkmm] Device: Add get_vendor_id() and get_product_id().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Device: Add get_vendor_id() and get_product_id().
- Date: Fri, 6 Feb 2015 13:05:28 +0000 (UTC)
commit 026cfba29a595d1c6ce141a2639cb5affdfc5398
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Feb 5 13:28:14 2015 +0100
Device: Add get_vendor_id() and get_product_id().
I used ustring for the return values, instead of std::string,
because the documentation says that these can be used to build
GSettings paths, and Gio::Setting uses ustring.
gdk/src/device.hg | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gdk/src/device.hg b/gdk/src/device.hg
index 997ce76..b4d974c 100644
--- a/gdk/src/device.hg
+++ b/gdk/src/device.hg
@@ -198,6 +198,10 @@ public:
_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)
+
+ _WRAP_METHOD(Glib::ustring get_vendor_id() const, gdk_device_get_vendor_id)
+ _WRAP_METHOD(Glib::ustring get_product_id(), gdk_device_get_product_id)
+
};
} // namespace Gdk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]