Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions enable/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down