Emmanuel Lepage Vallee
c0eabf9d8f
widget: Move 'visible' into _private
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
afa17fd8f9
widget: Move 'widget_buttons' into _private
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
c828e56b57
widget: Fix documentation
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
542070205f
widget: Add proper accessors for the 'opacity' property
...
To avoid collision with the property system and comply with the
API guidelines.
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
eb79b3262d
background: Enable the property system
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
c9dd32424f
doc: Fix wibox.widget.base documentation
...
It was set as `module` instead of `class` because ldoc was confused
set shown the methods as functions and functions as methods.
This commit set the explicit section so ldoc don't gress (wrongly)
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
f9e82c1f57
background: Move all private attributes into _private
...
So there is no collision when properties are enabled
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
adb2f88383
objects: Add a table for private elements
...
Provide a standardized place for them rather than having each
widgets use their own conventions.
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
efcbda0a78
widget.base: Add property support
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
a8505ed019
doc: Add an imagebox widget default screenshot
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
83a9a9e67a
doc: Add a progressbar widget default screenshot
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
f29eeed82e
doc: Add a graph widget default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
ec2cfc7be2
doc: Add a textbox widget default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
ab40a342af
doc: Add a stack layout default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
163748c782
doc: Add a ratio layout default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
7fa56cb94c
doc: Add a flex layout default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
150026690c
doc: Add a fixed layout default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
5ba7af2be2
doc: Add an align layout default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
490306a5fc
shape: Add default rounded_rect radius
...
Add an arbitrary value to avoid all caller setting extra arguments.
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
47a471072a
doc: Add a `margin` default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
26cf28b23b
doc: Add a `constraint` default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
de7ae79c6c
doc: Add a `background` default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
46c83b4001
doc: Add a `mirror` default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
ab0a9a077e
doc: Add a `rotate` default screenshot
2016-05-30 18:00:58 -04:00
Emmanuel Lepage Vallee
bc2c0cfcb0
doc: Add a wibox.container.rotate example
...
Also fix the documentation
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
3c2aa09b86
doc: Document the beautiful vars used by the systray and textbox
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
9d0693ce3a
doc: Do not export draw, fit and layout methods
...
They are used internally, users should never call them.
This will make the API documentation cleaner.
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
be23bf0f15
widget: Fix documentation
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
fd3e27c38b
containers: Fix documentation
...
local functions and metatable based constructors are not
documented unless an explicit @function is added.
Also add missing return values and fix formatting.
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
f9c9e11d11
graph: Move to wibox.widget
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
6493cbee76
progressbar: Move to `wibox.widget`
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
ae0d306114
textclock: Move to wibox.widget
...
It doesn't depend on `awful`, so it doesn't belong in `awful`.
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
44a4eca40e
doc: Port the shape images to the doc example system
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
feb3833fd1
doc: Move the background examples to the container suit
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
d85588babe
wibox: Create a container module
...
Previously, the "containers" were placed in layout or widget.
They all have similar APIs and usage, so lets bring them together.
2016-05-30 17:51:19 -04:00
Emmanuel Lepage Vallee
990beef9d0
util: Add a class deprecation function.
2016-05-30 17:51:18 -04:00
Emmanuel Lepage Vallee
3f0d218f72
util.table.crush: Optionally use rawset
2016-05-30 17:51:18 -04:00
Emmanuel Lepage Vallee
dbcb850de9
wibar: Restore previous behavior
...
The behavior was changed during the rewrite. This was a mistake
as it was assumed (wrongly) that nobody used this function with
wiboxes other than "wibars" (awful.wibox).
Fixes #917
2016-05-19 13:27:46 -04:00
Emmanuel Lepage Vallee
cc5e78ff55
wibar: Improve constructor documentation
2016-05-19 01:27:05 -04:00
Emmanuel Lepage Vallee
4d45063adb
wibox: Add constructor documentation
...
The leading point is on purpose. It work around a ldoc bug and is
already used elsewhere (like signals without a ::)
2016-05-19 01:27:05 -04:00
Emmanuel Lepage Vallee
f26fa5e099
wibox: Add more constructor arguments
...
Fixes #916
2016-05-19 01:27:05 -04:00
actionless
938de72ba7
fix(awful: wibar): visible arg was ignored
2016-05-19 00:21:22 +02:00
Emmanuel Lepage Vallée
3fd292e1ff
Merge pull request #912 from Elv13/fix_tag_delete_race
...
tag: Avoid a race condition when deleting tags.
2016-05-18 16:01:30 -04:00
Emmanuel Lepage Vallee
6e6c4c3a5d
tag: Avoid a race condition when deleting tags.
...
Since the screen removal patchset, the tags properties were
cleaned too early. This caused code connecting to "property::activated"
to be called with the tag already partially deleted. For code depending
on those properties, such as radical.impl.taglist, this caused errors.
2016-05-18 15:46:09 -04:00
Emmanuel Lepage Vallée
c1d3f291fe
Merge pull request #913 from Elv13/gear_obj_props
...
Gear.object properties
2016-05-18 15:20:43 -04:00
Emmanuel Lepage Vallee
bb5ee50de9
layoutbox: Revert 25f4f24791
...
Apparently, there is such thing as not leaking enough...
Also try to clear the widgets from mywibox. This seem to help.
Time will tell.
Fixes #914 , unfixes #808
2016-05-18 01:45:21 -04:00
Emmanuel Lepage Vallee
d6a7b6c645
object: Add a dynamic property example
2016-05-18 01:23:53 -04:00
Emmanuel Lepage Vallee
f810d78e7b
object: Add a signal example
2016-05-18 01:23:53 -04:00
Emmanuel Lepage Vallee
adebef629b
object: Add an header description
2016-05-18 01:23:53 -04:00
Emmanuel Lepage Vallee
b1c33fbd09
object: Add type information to documentation
2016-05-18 01:23:53 -04:00