Open Sorky opened 6 years ago
I don't mind that.
PS: This method doesn't seem to appear in the doco
It is documented as a property and not a method: https://awesomewm.org/doc/api/classes/wibox.widget.textbox.html#wibox.widget.textbox.font
I was able to do local textbox = wibox.widget.textbox( "Hi" ) textbox.font = font and local textbox = wibox.widget.textbox( "Hi" ) textbox:set_font( font )
Same? Surely the method is additional in this case? Causes a refresh? Which is better?
Reminds me on jQuery way of writing …
Just like lua string methods
Just like lua string methods
No. Lua string return a new string, not a reference to the old string.
I see it as an object to work with - new/old/reference/whatever
@psychon
What do you (and others) think of...
To allow...
PS: This method doesn't seem to appear in the doco