diff options
author | Manuel Quiñones <manuq@laptop.org> | 2012-11-13 15:45:27 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2012-11-14 19:15:46 (GMT) |
commit | 2d9e9ec526b2499cfbb89397e37a4537d790ddcd (patch) | |
tree | 0ff4869373edaaf205106df83eb2e020bfefe981 | |
parent | f3f72a7b160ed3c9dfdbe3349f8f2d7492ccfc78 (diff) |
Add insensitive button to buttons testcase - SL #4172
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r-- | tests/graphics/buttons.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/graphics/buttons.py b/tests/graphics/buttons.py index 6e6969a..a222215 100644 --- a/tests/graphics/buttons.py +++ b/tests/graphics/buttons.py @@ -46,6 +46,13 @@ button = Gtk.Button('Button') vbox.pack_start(button, False, False, 1) button.show() +# test Gtk.Button insensitive: + +insensitive_button = Gtk.Button('Insensitive Button') +vbox.pack_start(insensitive_button, False, False, 1) +insensitive_button.props.sensitive = False +insensitive_button.show() + # test Gtk.ToggleButton: toggle_button = Gtk.ToggleButton('ToggleButton') |