[gtkmm] Gdk::Window: Add some methods.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk::Window: Add some methods.
- Date: Mon, 15 Sep 2014 15:24:30 +0000 (UTC)
commit 48e0bd3779584f7ea55f50dbca07b9567badd16a
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Sep 15 16:51:59 2014 +0200
Gdk::Window: Add some methods.
* gdk/src/window.hg: Add get/set_event_compression(),
set_shadow_width(), and show_window_menu().
Some of these were actually added in GTK+ 2.12 but not yet wrapped
in gtkmm 2.12.
gdk/src/window.hg | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gdk/src/window.hg b/gdk/src/window.hg
index d30a1b4..e68626b 100644
--- a/gdk/src/window.hg
+++ b/gdk/src/window.hg
@@ -388,6 +388,13 @@ public:
_WRAP_METHOD(void set_opaque_region(const ::Cairo::RefPtr<const ::Cairo::Region>& region),
gdk_window_set_opaque_region)
+ _WRAP_METHOD(void set_event_compression(bool event_compression = true), gdk_window_set_event_compression)
+ _WRAP_METHOD(bool get_event_compression() const, gdk_window_get_event_compression)
+
+ _WRAP_METHOD(void set_shadow_width(int left, int right, int top, int bottom), gdk_window_set_shadow_width)
+
+ //TODO: Use Gdk::Event when we use it elsewhere - See also, for instance, Gdk::Display::put_event().
+ _WRAP_METHOD(bool show_window_menu(GdkEvent* event), gdk_window_show_window_menu)
_WRAP_PROPERTY("cursor", Glib::RefPtr<Cursor>)
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]