Write GUI little software with python + gnome3

Hello ,today i would like show you write some little software with python + gnome3 


The manual will show you how to write a very simple example.

Let's go for fun . 




  1. you must have a ubuntu gnome desktop
  2. sudo apt install python-gi-dev
  3. write some helloworld.py 
  4. run by python helloworld.py


A very small window


import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk

win = Gtk.Window()
win.connect("delete-event", Gtk.main_quit)

Just for fun

Post: 1970.01.01 08:33

Views: 152

Edit blog

Follow me: @twitter @github
Scan QR code and Donate me via alipay:
donate me via alipay
Donate me Bitcoin:136MYemy5QmmBPLBLr1GHZfkES7CsoG4Qh
Powered by josense, Last updated: 2019-04-15 09:45 RSS