sugar-toolkit-gtk3/examples/progress.py
Daniel Narvaez 148655635f Add a make target for tests
We are running the existing test_mime.py. All the other tests which
are not unit tests but more examples of code one can run interactively
are moved to the example directory.
2013-04-09 11:36:51 +02:00

21 lines
292 B
Python

from gi.repository import Gtk
import common
test = common.Test()
test.show()
box = Gtk.HBox()
test.pack_start(box, True, False, 10)
box.show()
bar = Gtk.ProgressBar()
bar.set_fraction(0.5)
box.pack_start(bar, True, True, 10)
bar.show()
if __name__ == '__main__':
common.main(test)