Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/g/r/gramps-3.4.2/src/gui/widgets/validatedmaskedentry.py   Gramps(Download)
#
#-------------------------------------------------------------------------
from Errors import MaskError, ValidationError, WindowActiveError
from gui.widgets.undoableentry import UndoableEntry
 
    def get_field_text(self, field):
        if not self._mask:
            raise MaskError("a mask must be set before calling get_field_text")
        #assert self._mask
        text = self.get_text()
        """
        if not self._mask:
            raise MaskError("a mask must be set before calling get_fields")
        #assert self._mask