I'm trying to make some HTML widgets for Digital Signage in Linux using Python and GTK, and I'm wondering how can I disable the GUI windows from showing up?
import gtk
import webkit
view = webkit.WebView()
sw = gtk.ScrolledWindow()
sw.add(view)
win = gtk.Window(gtk.WINDOW_TOPLEVEL)
win.move(0, 1080)
win.set_default_size(1920, 100)
win.add(sw)
win.show_all()
view.open("http://localhost/widgets/test.php")
gtk.main()
CodePudding user response:
Never mind I found it myself win.set_decorated(0)