l.s.w.menu : module documentation

Part of lp.services.webapp

Menus and facets.
Function get_current_view Return the current view or None.
Function get_facet Return the view's facet name.
Class LinkData General links that aren't default links.
Class MenuLink Adapter from ILinkData to ILink.
Class FacetLink Adapter from ILinkData to IFacetLink.
Class MenuBase Base class for facets and menus.
def get_current_view(request=None):
Return the current view or None.
ParametersrequestA IHTTPApplicationRequest. If request is None, the current browser request is used.
ReturnsThe view from requests that provide IHTTPApplicationRequest.
def get_facet(view):
Return the view's facet name.
API Documentation for Launchpad, generated by pydoctor at 2018-10-17 00:00:11.