Exemplo n.º 1
0
    def _get_instance_type(self):
        """The instance_type getter."""
        md = PyMimeData.coerce(self.clipboard.mimeData())
        if md is None:
            return None

        return md.instanceType()
Exemplo n.º 2
0
    def _get_instance_type(self):
        """ The instance_type getter.
        """
        md = PyMimeData.coerce(self.clipboard.mimeData())
        if md is None:
            return None

        return md.instanceType()
Exemplo n.º 3
0
 def _set_instance(self, data):
     """The instance setter."""
     self.clipboard.setMimeData(PyMimeData(data))