def _search_string_not_async(self, text): return self._search_async([ StringQueryState(filter=self.sfilter, mode=StringQueryState.NOT_CONTAINS, text=text)])
def _search_string_all_async(self, text): return self._search_async([ StringQueryState(filter=self.sfilter, mode=StringQueryState.CONTAINS_ALL, text=text)])
def _search_string_exactly_async(self, text): return self._search_async([ StringQueryState(filter=self.sfilter, mode=StringQueryState.CONTAINS_EXACTLY, text=text)])
def get_state(self): option = self.mode.get_selected_data() return StringQueryState(filter=self, text=str(self.entry.get_text()), mode=option and option.mode)