Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/examples/progress.py
blob: bc176a81642d5fe500cc8031d43b2096f4692936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)