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
Last revision Both sides next revision
maemo:shared_code [2011/08/18 23:12]
grp4
maemo:shared_code [2011/08/18 23:18]
grp4
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>