Skip to content

HelpLink

🛈 DocStrings

Struct provides the data associated with a help link.

Source code in prettyqt/qthelp/helplink.py
class HelpLink:
    """Struct provides the data associated with a help link."""

    def __init__(self, item: QtHelp.QHelpLink):
        self.item = item

    def __getattr__(self, val):
        return getattr(self.item, val)

    def get_url(self) -> core.Url:
        return core.Url(self.url)

:fa-brands-github: Show source on GitHub