no effect when setting opacity on Gtkwidget
All-In-One PyGI/PyGObject for Windows Installer
Status: Abandoned
Brought to you by:
tumagonx
Hi,
Just want to inform you that we can't change the opacity of the window and
for any other widget. Here is a simple code to test it.
I have installed: pygi-aio-3.18.2_rev7-setup.exe
Best regards,
Narcisse.
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
def dest_wid(wid):
Gtk.main_quit()
w = Gtk.Window()
w.set_property("opacity", .5)
w.connect("destroy", dest_wid)
w.show()
Gtk.main()