5
An example:
#!/usr/bin/python3
# coding: utf-8
# window.py
from gi.repository import Gtk
class App(Gtk.Window):
def __init__(self):
super(Gtk.Window, self).__init__(title='Hello World')
self.set_position(Gtk.WindowPosition.CENTER)
self.set_size_request(600, 400)
self.set_keep_above(True)
self.set_modal(True)
self.set_icon_name('Hello World')
self.set_deletable(True)
self.set_opacity(1)
self.set_skip_pager_hint(True)
self.set_skip_taskbar_hint(False)
self.set_auto_startup_notification(False)
self.set_border_width(10)
main = App()
main.connect("delete-event", Gtk.main_quit)
main.show_all()
Gtk.main()
How do I open this my script by giving two click done one executable?
Which operating system? if it is windows, you can start by creating a . bat file
– WeezHard
good i want to create mutiplataforma preference but if Voce knows some recipe for windows can say @psantos
– user37612
see my answer
– WeezHard
I’m waiting for windows to boot for me to test
– user37612