Daniel Hahler
d9cd0a4f0e
Merge pull request #948 from psychon/deprecate-add-signal
...
Deprecate add_signal
2016-06-07 22:58:14 +02:00
Uli Schlachter
0857f6f1b5
Lua: Remove calls to add_signal()
...
The requirement to call add_signal() was added to catch typos. However, this
requirement became increasingly annoying with property::<name> signals and e.g.
gears.object allowing arbitrary properties to be changed.
All of this ended up in a single commit because tests/examples fails if I first
let add_signal() emit a deprecation warning.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-06-04 18:23:48 +02:00
Uli Schlachter
a7f7cab564
wibox: Remember the screen that was assigned
...
If screens overlap, the wibox should still remember which of the possible
screens it is assigned to.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-06-04 17:39:51 +02:00
Emmanuel Lepage Vallee
756862dff6
systray: Use table.crush
2016-05-30 23:12:49 -04:00
Emmanuel Lepage Vallee
cbe046b0db
progressbar: Add theme options
2016-05-30 23:10:03 -04:00
Emmanuel Lepage Vallee
7c00b2a55a
graph: Add theme options
2016-05-30 23:10:02 -04:00
Emmanuel Lepage Vallee
f9ff2f4909
stack: Enable the property system
...
And add the missing documentation
2016-05-30 23:10:02 -04:00
Emmanuel Lepage Vallee
23729b6296
flex: Enable the property system
...
And add the missing documentation
2016-05-30 23:10:02 -04:00
Emmanuel Lepage Vallee
eddbbf7aca
ratio: Enable the property system
...
And add the missing documentation
2016-05-30 23:10:02 -04:00
Emmanuel Lepage Vallee
0a8bc8156d
align: Enable the property system
...
And add the missing documentation
2016-05-30 23:10:02 -04:00
Emmanuel Lepage Vallee
b89fbcf940
fixed: Enable the property system
...
And add the missing documentation
2016-05-30 23:10:02 -04:00
Emmanuel Lepage Vallee
18500838d9
textclock: Add missing documentation
2016-05-30 23:10:02 -04:00
Emmanuel Lepage Vallee
c62ca6c665
imagebox: Enable the property system
...
And add the missing documentation
2016-05-30 23:10:02 -04:00
Emmanuel Lepage Vallee
5a0f7b7efe
textbox: Enable the property system
...
And add the missing documentation
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
ea16481228
graph: Enable the property system
...
And add the missing documentation
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
03e2310c54
scroll: Enable the property system
...
And add the missing documentation
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
4ffbff3a5f
rotate: Enable the property system
...
And add the missing documentation
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
bf74ca8a8c
mirror: Enable the property system
...
And add the missing documentation
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
8869257940
margin: Enable the property system
...
And add the missing documentation
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
832e9ed054
constraint: Enable the property system
...
And add the missing documentation
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
a5edff396c
background: Add the common object documentation
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
9630f3c3ed
widget: Move the identifier index into _private
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
fdf86ba84d
widget: Move height and width into _private
2016-05-30 18:00:59 -04:00
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
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