meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
maemo:shared_code [2011/08/18 23:09] grp4 |
maemo:shared_code [2011/08/18 23:18] grp4 |
||
---|---|---|---|
Line 8: | Line 8: | ||
http:// | http:// | ||
- | though every function in pygtk library does not work in maemo as developer were too lazy and didn't import them. like no scrollbar or slidebar exist in maemo. | + | though |
+ | some examples | ||
+ | <code python examples.py> | ||
+ | a= gtk.CheckButton(" | ||
+ | hbox.pack_start(a, | ||
+ | | ||
+ | b= gtk.ToggleButton(" | ||
+ | hbox.pack_start(b, | ||
+ | | ||
+ | c = gtk.RadioButton(None, | ||
+ | hbox.pack_start(c, | ||
+ | | ||
+ | adjus = gtk.Adjustment(value=60, | ||
+ | d = gtk.SpinButton(adjustment= adjus, climb_rate=0.1, | ||
+ | hbox.pack_start(d, | ||
+ | | ||
+ | combo = gtk.Combo() | ||
+ | combo.entry.set_text(" | ||
+ | slist = [ " | ||
+ | combo.set_popdown_strings(slist) | ||
+ | hbox.pack_start(combo, | ||
+ | </ | ||
===== Software playtrought ===== | ===== Software playtrought ===== |