l.a.b.l.LinkView(LaunchpadView) : class documentation

Part of lp.app.browser.launchpad View In Hierarchy

View class that helps its template render a menu link.

The link is not rendered if it's not enabled and we are not in development mode.

Method sprite_class Return the class used to display the link's icon.
Method render Render the menu link if it's enabled or we're in dev mode.
Method css_class Return the CSS class.
Method url Return the url if linked.
Method summary Return the summary if linked.
@property
def sprite_class(self):
Return the class used to display the link's icon.
def render(self):
Render the menu link if it's enabled or we're in dev mode.
@property
def css_class(self):
Return the CSS class.
@property
def url(self):
Return the url if linked.
@property
def summary(self):
Return the summary if linked.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.