From 8105385230eb5a83a1a4afcc02bb75391c1a7bbb Mon Sep 17 00:00:00 2001 From: Daniel Lidstrom Date: Mon, 21 Dec 2020 23:10:44 -0800 Subject: [PATCH] Add not enabled example --- examples/parametertree.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/parametertree.py b/examples/parametertree.py index 110b164f..6fd8f38d 100644 --- a/examples/parametertree.py +++ b/examples/parametertree.py @@ -93,6 +93,7 @@ params = [ ]}, {'name': 'Extra Parameter Options', 'type': 'group', 'children': [ {'name': 'Read-only', 'type': 'float', 'value': 1.2e6, 'siPrefix': True, 'suffix': 'Hz', 'readonly': True}, + {'name': 'Disabled', 'type': 'float', 'value': 1.2e6, 'siPrefix': True, 'suffix': 'Hz', 'enabled': False}, {'name': 'Renamable', 'type': 'float', 'value': 1.2e6, 'siPrefix': True, 'suffix': 'Hz', 'renamable': True}, {'name': 'Removable', 'type': 'float', 'value': 1.2e6, 'siPrefix': True, 'suffix': 'Hz', 'removable': True}, ]},