Emmanuel Lepage Vallee
45823f230a
capi: Move from `.data` to `._private` for the property data.
...
This will bring the CAPI classes closer to the gears.object ones.
Fixes #2897
2019-11-09 16:43:12 -05:00
Emmanuel Lepage Vallee
29e804a4f8
drawin: Turn `:buttons()` into a property.
2019-10-05 18:06:51 -04:00
Emmanuel Lepage Vallee
4eda67ce54
tests: Add the struts to the shims
2019-08-18 02:44:34 -04:00
Emmanuel Lepage Vallee
89867386c5
tests: Add images to the tooltip documentation
...
It also add some properties such as `border_width`, `border_color`
and `preferred_alignments`.
It also fix a documentation bug where the `margin_topleft` was called
`margins_topleft`. To conform to the documentation, both are now valid
but one should be removed the next time the API changes.
Fixes #1978
2018-12-24 21:52:30 -05:00
Emmanuel Lepage Vallee
90342b62c6
shims: Make sure the wibox boolean properties are set
...
Also make some changes to support tooltips.
2018-12-24 21:49:52 -05:00
Emmanuel Lepage Vallee
8e87bd7c64
tests: Add some methods to the shims
2017-10-21 17:57:30 +02:00
Emmanuel Lepage Vallee
e49e7d6938
shims: Add a missing drawin member
2017-06-26 02:27:20 -04:00
Uli Schlachter
46c32d9df1
tests/example: Add vim modelines
...
This uses DOC_HIDE magic in the actual test code, except for the
template.lua files which do not have it.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-12-31 13:59:38 +01:00
Daniel Hahler
68de588f21
tests: fix indenting/style ( #1303 )
...
Basically:
> for f in **/*.lua; do vim '+set sw=4' '+norm gg=G' '+wq' "$f"; done
2016-12-27 21:39:08 +01:00
Uli Schlachter
f9775b91de
shims: Add support the new .data property
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-09-30 11:11:55 +02:00
Emmanuel Lepage Vallee
66ca66ca87
tests: Add basic drawin shim
2016-05-03 17:12:54 -04:00