From 5e147396d8646fd3621c81a5933250a59df2ff26 Mon Sep 17 00:00:00 2001 From: Aaron Ayres Date: Mon, 26 Apr 2021 15:59:44 -0500 Subject: [PATCH] remove deprecated intercept_events trait --- enable/container.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/enable/container.py b/enable/container.py index 69e14732b..4f1ad0b72 100644 --- a/enable/container.py +++ b/enable/container.py @@ -44,10 +44,6 @@ class Container(Component): # this for some other reason, you may want to turn fit_window off. fit_window = Bool(True) - # If true, the container get events before its children. Otherwise, it - # gets them afterwards. - intercept_events = Bool(True) - # Dimensions in which this container can resize to fit its components. # This trait only applies to dimensions that are also resizable; if the # container is not resizable in a certain dimension, then fit_components @@ -111,12 +107,6 @@ def __init__(self, *components, **traits): if "bounds" in traits and "auto_size" not in traits: self.auto_size = False - if "intercept_events" in traits: - warnings.warn( - "'intercept_events' is a deprecated trait", - warnings.DeprecationWarning, - ) - def add(self, *components): """ Adds components to this container """ for component in components: