From 7931e104f476c3ad40075fb374125c152fbd1dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= Date: Mon, 3 Dec 2012 11:44:53 -0300 Subject: [PATCH] Add Gtk.ProgressBar testcase. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel QuiƱones --- tests/graphics/progress.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/graphics/progress.py diff --git a/tests/graphics/progress.py b/tests/graphics/progress.py new file mode 100644 index 00000000..bc176a81 --- /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)