doc: textbox:set_markup: link to Pango markup documentation
This commit is contained in:
parent
f79b083e97
commit
b33cffd851
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue