'Get object source'

def get_source(self, objtxt):

    if self._reading:
        return
    wait_loop = QEventLoop()
    self.sig_got_reply.connect(wait_loop.quit)
    self.silent_exec_method(("get_ipython().kernel.get_source('%s')" % objtxt))
    wait_loop.exec_()
    self.sig_got_reply.disconnect(wait_loop.quit)
    wait_loop = None
    return self._kernel_reply
