Beispiel #1
0
    def _setStatusText(self, link, text):
        """
        Execute onHoverLink event and set status text
        """
        link_decoded = self.decodeIDNA(link)

        params = HoverLinkParams(link=link_decoded, text=text)
        Application.onHoverLink(page=self._currentPage, params=params)

        outwiker.core.commands.setStatusText(params.text, self._status_item)
Beispiel #2
0
    def setStatusText (self, link, text):
        """
        Execute onHoverLink event and set status text
        """
        link_decoded = self._decodeIDNA (link)

        params = HoverLinkParams (link = link_decoded, text = text)
        Application.onHoverLink (page=self._currentPage, params = params)

        outwiker.core.commands.setStatusText (params.text, self._status_item)