doc: textbox:set_markup: link to Pango markup documentation

This commit is contained in:
Daniel Hahler 2015-08-13 16:12:29 +02:00
parent f79b083e97
commit b33cffd851
1 changed files with 4 additions and 3 deletions

View File

@ -53,9 +53,10 @@ function textbox:fit(width, height)
return logical.width, logical.height return logical.width, logical.height
end end
--- Set the text of the textbox (with Pango markup). --- Set the text of the textbox (with
-- @param text The text to set. This can contain pango markup (e.g. -- [Pango markup](https://developer.gnome.org/pango/stable/PangoMarkupFormat.html)).
-- `<b>bold</b>`). You can use awful.util.escape to escape -- @tparam string text The text to set. This can contain pango markup (e.g.
-- `<b>bold</b>`). You can use `awful.util.escape` to escape
-- parts of it. -- parts of it.
function textbox:set_markup(text) function textbox:set_markup(text)
if self._markup == text then if self._markup == text then