This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Amit Aronovitch

Email: <aronovitch AT SPAMFREE gmail DOT com>

1. Pages



2. wiki experminets area

Pls ignore this area, unless you want to examine the source...

he

3. כותרת בעברית

הנה רשימה (list) בעברית

en

And back to English (and some embedded עברית inside).

Some code

   1 # example base.py
   2 
   3 import pygtk
   4 pygtk.require('2.0')
   5 import gtk
   6 
   7 class Base:
   8     def __init__(self):
   9         self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
  10         self.window.show()
  11 
  12     def main(self):
  13         gtk.main()
  14 
  15 print __name__
  16 if __name__ == "__main__":
  17     base = Base()
  18     base.main()



CategoryHomepage


2024-10-23 10:58