meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
maemo:shared_code [2011/08/18 23:11]
grp4
maemo:shared_code [2011/08/18 23:18]
grp4
Line 11: Line 11:
  
 some examples some examples
-<code python MeHear.py>+<code python examples.py>
         a= gtk.CheckButton("check button 1")         a= gtk.CheckButton("check button 1")
         hbox.pack_start(a, True, True, 0)         hbox.pack_start(a, True, True, 0)
Line 24: Line 24:
         d = gtk.SpinButton(adjustment= adjus, climb_rate=0.1, digits=5)         d = gtk.SpinButton(adjustment= adjus, climb_rate=0.1, digits=5)
         hbox.pack_start(d, True, True, 0)         hbox.pack_start(d, True, True, 0)
 +        
 +        combo = gtk.Combo()
 +        combo.entry.set_text("text")
 +        slist = [ "String 1", "String 2", "String 3", "String 4" ]
 +        combo.set_popdown_strings(slist)
 +        hbox.pack_start(combo, True, True, 0)
 </code> </code>