Mercurial > libervia-web
diff src/browser/sat_browser/base_widget.py @ 690:76a67d04c63e
browser_side: improve comments for menus-related methods
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 09 Apr 2015 11:40:53 +0200 |
parents | 9877607c719a |
children | f8a7a046ff9c |
line wrap: on
line diff
--- a/src/browser/sat_browser/base_widget.py Thu Apr 02 00:36:08 2015 +0200 +++ b/src/browser/sat_browser/base_widget.py Thu Apr 09 11:40:53 2015 +0200 @@ -63,4 +63,9 @@ @classmethod def getCategoryHTML(cls, category): + """Build the html to be used for displaying a category item. + + @param category (quick_menus.MenuCategory): category to add + @return unicode: HTML to display + """ return cls.ITEM_TPL % category.icon