Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-12-03 14:44:53 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-12-03 15:52:32 (GMT)
commit7931e104f476c3ad40075fb374125c152fbd1dc8 (patch)
tree2e055bb07b62afc04d5d231c5ac314e5287481cd
parente456cf1c9ec47e7821b23fb48c9fe6fd6bdc8089 (diff)
Add Gtk.ProgressBar testcase.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
-rw-r--r--tests/graphics/progress.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/graphics/progress.py b/tests/graphics/progress.py
new file mode 100644
index 0000000..bc176a8
--- /dev/null
+++ b/tests/graphics/progress.py
@@ -0,0 +1,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)