mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
doc: textbox:set_markup: link to Pango markup documentation
This commit is contained in:
parent
f79b083e97
commit
b33cffd851
1 changed files with 4 additions and 3 deletions
|
@ -53,9 +53,10 @@ function textbox:fit(width, height)
|
|||
return logical.width, logical.height
|
||||
end
|
||||
|
||||
--- Set the text of the textbox (with Pango markup).
|
||||
-- @param text The text to set. This can contain pango markup (e.g.
|
||||
-- `<b>bold</b>`). You can use awful.util.escape to escape
|
||||
--- Set the text of the textbox (with
|
||||
-- [Pango markup](https://developer.gnome.org/pango/stable/PangoMarkupFormat.html)).
|
||||
-- @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.
|
||||
function textbox:set_markup(text)
|
||||
if self._markup == text then
|
||||
|
|
Loading…
Reference in a new issue