Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/graphics/buttons.py7
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')