def _is_in ( self, event, x, y, dx, dy ):
        return ((x <= event.GetX() < (x + dx)) and
                (y <= event.GetY() < (y + dy)))

#-------------------------------------------------------------------------------
#  'FakeEvent' class:
#-------------------------------------------------------------------------------
Returns whether or not an event is within a specified bounds.
dataset/ETHPy150Open enthought/pyface/pyface/dock/feature_bar.py/FeatureBar._is_in