def clear_text(self, event):

        if not self._no_update:
            self.control.SetValue("")
            self.value = ""
            if self.factory.search_event_trait != '':
                setattr(self.object, self.factory.search_event_trait, True)
Plug the frame to the east of the widget.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/search_editor.py/SearchEditor.clear_text--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/qt/docking/layout_handling.py/_plug_compass_east