Emmanuel Lepage Vallee
88c65a71dd
textbox: Rename `align` to `halign`.
...
`halign` is used in multiple place in the API. Once upon a time,
Awesome only supported horizontal widgets, but this era has long
passed.
Fix #3640
2022-09-06 16:11:04 -07:00
Emmanuel Lepage Vallee
4c4d833a69
awful.widget.layoutlist: Update the property documentation.
2022-08-29 22:49:47 -07:00
Emmanuel Lepage Vallee
4bd90f0f35
doc: Add documentation linting and fix all issues it found.
2022-08-29 22:48:54 -07:00
Emmanuel Lepage Vallee
f3987f43b6
doc: More proof reading fixes.
2022-08-29 22:48:54 -07:00
Emmanuel Lepage Vallee
935da05be4
layoutlist: Sanitize the color when building Pango strings.
...
This was aready done in the `tasklist` and `taglist`.
2022-08-29 22:48:36 -07:00
Emmanuel Lepage Vallee
396bddb946
layoutlist: Add a `count` property.
...
Because it was added to the `taglist` and `tasklist` and their API
somewhat mirror each other.
2022-08-29 22:47:55 -07:00
Emmanuel Lepage Vallee
c7208b4bb0
layoutlist: Rename the constructor arg from `layout` to `base_layout`.
...
The documentation examples already called it that way.
2021-10-27 13:41:11 -07:00
Emmanuel Lepage Vallee
440d1560a3
layoutlist: Fix the `layout` consturctor parameter.
...
If set, it would override some important widget methods and
explode.
2021-10-27 13:41:10 -07:00
Emmanuel Lepage Vallee
2f8413acbc
layoutlist: Use `layoutlist_spacing` instead of `tasklist_spacing`.
...
Old copy/paste bug.
2021-10-27 13:38:48 -07:00
Emmanuel Lepage Vallee
c63a80de5c
layoutlist: Allow empty constructor.
2021-10-26 13:37:16 -07:00
Emmanuel Lepage Vallee
213bfbc9bd
doc: Fix a syntax issue in the layoutbox doc.
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
01020a197d
layoutlist: Support scrollwheel by default.
...
It acts like the default `rc.lua` tag/tasklist widgets.
Idea from https://github.com/awesomeWM/awesome/issues/3388
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
9c042fcb79
layoutlist: Fix an assert when `buttons` are specified.
...
Fix #3388
2021-10-14 14:09:47 -07:00
Emmanuel Lepage Vallee
cd2e961fcb
layoutlist: Remove the duplicate `buttons` property from doc.
2021-10-14 14:09:47 -07:00
Aire-One
20a8d902c5
doc(@supermodule): Add to awful.widget modules
2021-04-02 19:24:07 +02:00
Emmanuel Lepage-Vallee
833948ea67
doc: Polish the awful.widget doc.
...
A lot of them were missing the inheritance includes.
2019-12-21 21:53:57 -08:00
Emmanuel Lepage Vallee
f3dc57f3f4
layoutlist: Add more caching.
...
Technically this doesn't solve any memory leak, but AwesomeWM uses in
average less memory when changing the selected tab in quick succession.
This is because it has less "temporary" tables to track.
2019-08-07 04:27:56 -04:00
Emmanuel Lepage Vallee
d832b8c9b8
layoutlist: Use weak tables to store the cache.
2019-08-07 03:21:17 -04:00
Emmanuel Lepage Vallee
11d7a614d9
doc: Add a constructor stereotype for everything.
...
This forces the constructor functions to be at the top of the API
documentation rather than in a random position.
2019-06-08 18:13:42 -04:00
Emmanuel Lepage Vallee
bb51add089
doc: Move all widgets to a new section.
2019-06-08 17:49:14 -04:00
Emmanuel Lepage Vallée
8b5d79792b
doc: Fix a copy+paste mistake
...
The current `awful.widget.layoutlist` is a fork of the so far uncommitted `naughty.widget.actionlist`. It was created because some of the support code for the new `naughty` implementation needed "easier to merge" usage examples. The `layoutlist` was chosen because it was both a low hanging fruit and genuinely useful.
2019-01-27 22:01:10 -05:00
Emmanuel Lepage Vallee
8b60c05118
widget: Add a layoutlist widget
...
Like taglist and tasklist, but for layouts
2019-01-26 01:34:59 -05:00