Hi. I use GTK+ 3.14.13 from pygi-aio-3.14.0_rev18-setup. I have tried to make window transparent using set_opacity() method, but it does not work. I have tried the same with C, but using GTK+ 3.6.4 since it is the latest version for windows and it worked using gtk_window_set_opacity() function. Could this be related to different versions of libraries, because since GTK+ 3.8 I think they deprecated gtk_window_set_opacity() function and recommend to use gtk_widget_set_opacity() function. Can someone look into this problem or share any thoughts on it?

My python code

from gi.repository import Gtk

window = Gtk.Window()
window.connect("delete-event", Gtk.main_quit)
window.set_opacity(0.5)

window.show_all()
Gtk.main()