awesome/lib/gears
Emmanuel Lepage Vallee 78c3496770 object: Add support for the legacy accessors as r/w methods.
Many legacy Awesome APIs such as `client:tags()`, `root.buttons()`,
`client:keys()`, `drawin:geometry()`, etc used functions for both the getter
and setter. This contrast with just about everything else that came after
it and is an artifact of an earlier time before we had "good" Lua object
support.

Because both consistency and backward compatibility are important, this
table wrapper allows to support both the legacy method based accessors
and key/value based accessors.

It isn't part of the public API, has a sledgehammer function prototype
and is intended for internal use only.

It's ugly, but backward compatibility is more important than anything
else.
2019-10-05 18:06:51 -04:00
..
object object: Add support for the legacy accessors as r/w methods. 2019-10-05 18:06:51 -04:00
sort doc: Use an explicit tag for all static functions. 2019-06-08 18:14:13 -04:00
cache.lua doc: Add a constructor stereotype for everything. 2019-06-08 18:13:42 -04:00
color.lua doc: Use an explicit tag for all static functions. 2019-06-08 18:14:13 -04:00
debug.lua doc: Use an explicit tag for all static functions. 2019-06-08 18:14:13 -04:00
filesystem.lua doc: Use an explicit tag for all static functions. 2019-06-08 18:14:13 -04:00
geometry.lua gears.geometry: Add a function to compare 2 rectangles. 2019-09-04 13:11:47 -04:00
init.lua gears: Add a new sort module 2018-03-04 01:29:33 -05:00
matcher.lua Fix some typos (#2880) 2019-09-23 18:39:12 +02:00
math.lua doc: Use an explicit tag for all static functions. 2019-06-08 18:14:13 -04:00
matrix.lua doc: Fix all the property, theme and field types. 2019-06-08 18:14:14 -04:00
object.lua class: Share the module level signal system implementation. 2019-08-03 01:45:22 -04:00
protected_call.lua tests: Expose the previously private gears.protect_call error handlers. 2019-08-03 01:45:22 -04:00
shape.lua Make shapes more robust w.r.t pre-existing paths (#2806) 2019-07-03 16:56:08 -04:00
string.lua doc: Use an explicit tag for all static functions. 2019-06-08 18:14:13 -04:00
surface.lua doc: Use an explicit tag for all static functions. 2019-06-08 18:14:13 -04:00
table.lua gears.table: Add a new way to merge 2 tables. 2019-09-29 18:20:15 -04:00
timer.lua doc: Use an explicit tag for all static functions. 2019-06-08 18:14:13 -04:00
wallpaper.lua doc: Use an explicit tag for all static functions. 2019-06-08 18:14:13 -04:00