Emmanuel Lepage Vallée
78171ea038
Merge pull request #1010 from Elv13/fix_declarative_widgets
...
widgets: Apply attributes before adding the widgets
2016-07-24 14:58:07 -04:00
Emmanuel Lepage Vallee
79394c0965
widgets: Apply attributes before adding the widgets
...
For example, some layouts may place the widgets in a different order
depending on some attreibutes.
2016-07-23 17:24:13 -04:00
Emmanuel Lepage Vallee
c159ad3ab2
drawable: Add more data to the find_widgets metadata table
2016-07-23 16:46:11 -04:00
Uli Schlachter
7f74c7c859
drawable: Draw bgimage with operator OVER
...
The actual bg is drawn either with fake transparency over the wallpaper (this
uses operator OVER) or for true transparency with operator SOURCE. The bgimage
should be drawn ontop of this without erasing the background and thus needs
operator OVER.
However, before this commit the bgimage was drawn in the same way as the bg and
thus inherited its SOURCE operator if a compositor is running. Fix this by
restoring the default operator (OVER) and also e.g. the default source before
drawing the bgimage.
Fixes: https://github.com/awesomeWM/awesome/issues/954
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-07-09 10:30:36 +02:00
Uli Schlachter
d4454aba15
Fix drawable:set_bgimage()
...
When called with the file name of an image, this function failed to turn that
file name into a cairo surface.
Fixes: https://github.com/awesomeWM/awesome/issues/954
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-07-09 10:29:05 +02:00
Emmanuel Lepage Vallee
6eca36d764
progressbar: Add missing includes documentation variables
2016-06-24 15:59:02 -04:00
Salorium
b0d42e258a
Correct name variable: this typo introduced into in 03e2310c54
2016-06-18 17:42:27 +02:00
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