[perl-Gtk2] Wrap gdk_window_set_opacity (new in gtk+ 2.12)



commit 10c180b8498b56620248d07c287bd54ca5c3104a
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Thu Apr 22 22:38:50 2010 +0200

    Wrap gdk_window_set_opacity (new in gtk+ 2.12)

 t/GdkWindow.t   |    1 +
 xs/GdkWindow.xs |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/t/GdkWindow.t b/t/GdkWindow.t
index 06d3b31..31fc298 100644
--- a/t/GdkWindow.t
+++ b/t/GdkWindow.t
@@ -302,6 +302,7 @@ SKIP: {
     unless Gtk2 -> CHECK_VERSION(2, 12, 0);
 
   $window -> set_startup_id('bla');
+  $window -> set_opacity(1.0);
   $window -> set_composited(FALSE);
   # $window -> beep();
 }
diff --git a/xs/GdkWindow.xs b/xs/GdkWindow.xs
index c82aef3..1ebbce6 100644
--- a/xs/GdkWindow.xs
+++ b/xs/GdkWindow.xs
@@ -936,6 +936,8 @@ void gdk_window_beep (GdkWindow *window);
 
 void gdk_window_set_startup_id (GdkWindow *window, const gchar *startup_id);
 
+void gdk_window_set_opacity (GdkWindow *window, gdouble opacity);
+
 void gdk_window_set_composited (GdkWindow *window, gboolean composited);
 
 #endif



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