[gtkmm] Gdk::Window: Add get/set_offscreen_embedder() and get_offscreen_pixmap().
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk::Window: Add get/set_offscreen_embedder() and get_offscreen_pixmap().
- Date: Thu, 3 Dec 2009 09:29:58 +0000 (UTC)
commit f63da146d99e26f9cc84202a3c1b38685f447488
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Dec 3 10:29:55 2009 +0100
Gdk::Window: Add get/set_offscreen_embedder() and get_offscreen_pixmap().
* gdk/src/window.hg: Add get/set_offscreen_embedder() and
get_offscreen_pixmap(), suggested by Oscar Lazzarino.
ChangeLog | 7 +++++++
gdk/src/window.hg | 14 +++++++-------
2 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 48e4127..7457537 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-12-03 Murray Cumming <murrayc murrayc com>
+
+ Gdk::Window: Add get/set_offscreen_embedder() and get_offscreen_pixmap().
+
+ * gdk/src/window.hg: Add get/set_offscreen_embedder() and
+ get_offscreen_pixmap(), suggested by Oscar Lazzarino.
+
2009-11-27 Benjamin Herr <ben 0x539 de>
Gdk::PixbufAnimationIter: Make the methods public.
diff --git a/gdk/src/window.hg b/gdk/src/window.hg
index cb86d08..b3ea083 100644
--- a/gdk/src/window.hg
+++ b/gdk/src/window.hg
@@ -295,13 +295,13 @@ public:
_WRAP_METHOD(static Glib::RefPtr<Window> get_default_root_window(), gdk_get_default_root_window)
-//TODO: Wrap these?
-/*
-GdkPixmap *gdk_offscreen_window_get_pixmap (GdkWindow *window);
-void gdk_offscreen_window_set_embedder (GdkWindow *window,
- GdkWindow *embedder);
-GdkWindow *gdk_offscreen_window_get_embedder (GdkWindow *window);
-*/
+ _WRAP_METHOD(Glib::RefPtr<Pixmap> get_offscreen_pixmap(), gdk_offscreen_window_get_pixmap, refreturn);
+ _WRAP_METHOD(Glib::RefPtr<const Pixmap> get_offscreen_pixmap() const, gdk_offscreen_window_get_pixmap, constversion, refreturn);
+
+ _WRAP_METHOD(Glib::RefPtr<Window> get_offscreen_embedder(), gdk_offscreen_window_get_embedder, refreturn);
+ _WRAP_METHOD(Glib::RefPtr<const Window> get_offscreen_embedder() const, gdk_offscreen_window_get_embedder, constversion, refreturn);
+
+ _WRAP_METHOD(void set_offscreen_embedder(const Glib::RefPtr<Window>& embedder), gdk_offscreen_window_set_embedder)
_WRAP_METHOD(void redirect_to_drawable(const Glib::RefPtr<Drawable>& drawable, int src_x, int src_y, int dest_x, int dest_y, int width, int height), gdk_window_redirect_to_drawable)
_WRAP_METHOD(void remove_redirection(), gdk_window_remove_redirection)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]