Python GTK: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
Zeile 6: Zeile 6:
 
  window.show_all()
 
  window.show_all()
 
  Gtk.main()
 
  Gtk.main()
 
 
 
=Videos=
 
=Videos=
 
*[https://www.youtube.com/watch?v=0O11oEp7QYw GTK1]
 
*[https://www.youtube.com/watch?v=0O11oEp7QYw GTK1]
Zeile 14: Zeile 12:
 
*[https://www.youtube.com/watch?v=JeSBCfm3BqM GTK4]
 
*[https://www.youtube.com/watch?v=JeSBCfm3BqM GTK4]
 
...
 
...
 +
=Links=
 +
*http://python-gtk-3-tutorial.readthedocs.io/en/latest/introduction.html

Aktuelle Version vom 6. November 2017, 10:26 Uhr

Erstes Programm

from gi.repository import Gtk

window = Gtk.Window()
window.connect("delete-event",Gtk.main_quit)
window.show_all()
Gtk.main()

Videos

...

Links