gtk+ r17731 - in trunk: . gtk



Author: tml
Date: 2007-04-30 08:37:24 +0100 (Mon, 30 Apr 2007)
New Revision: 17731
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=17731&view=rev

Modified:
   trunk/ChangeLog
   trunk/gtk/gtk.symbols
   trunk/gtk/gtkwindow.c
   trunk/gtk/gtkwindow.h
Log:
2007-04-30  Tor Lillqvist  <tml novell com>

	Add functionality to set overall opacity of a top-level
	window. (#405316)

	* gtk/gtk.symbols: Add gtk_window_set_opacity and
	gtk_window_get_opacity.

	* gtk/gtkwindow.c (struct _GtkWindowPrivate,
	(gtk_window_class_init): Add opacity property, a double in the
	range [0, 1].
	(gtk_window_set_opacity, gtk_window_get_opacity): Implement.
	(gtk_window_realize): If opacity is set, call
	gdk_window_set_opacity().

	* gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
	gtk_window_get_opacity().






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