PyGTK

PyGTK is a library for the language Python allowing the management of the graphical interfaces. It is based on GTK+.

Simple sample program

importation gtk #creation of the objects: fenetre=gtk. Window () bouton=gtk. Short prop (" Bonjour") #ajout of the button in the window: fenetre.add (button) #liaison of the signals of click on the button or closing of the window # with the termination of the application: bouton.connect (" clicked" , lambda *w: gtk.main_quit ()) fenetre.connect (" destroy" , lambda *w: gtk.main_quit ()) #affichage fenetre.sh ow_all () #lancement gtk.main ()

External bond

official site

Random links:Geographical codes of France | Aleksandrów Łódzki | The Community of communes of the Country beaumontois | WWE SmackDown! (series of video game) | Jump of horse to the Olympic Games of 1996 | Rectifier_(album_L'Arc-en-Ciel)