Daniel Hahler
51ce375f01
tooltip: improve doc, call self.timer_function with self ( #381 )
2016-06-03 00:40:02 +02:00
Daniel Hahler
12f42fc9cc
Merge pull request #904 from psychon/xembed-fixes
...
Some Xembed fixes
2016-06-01 00:14:47 +02:00
Emmanuel Lepage Vallee
36bb9b4476
menu: Fix regression
...
There was already a bug, as self.active_child.visible
was used instead of self.active_child.wibox.visible
This caused some confusion that this attribute was a widget.
It wasn't.
2016-05-31 14:32:07 -04:00
Emmanuel Lepage Vallée
690772abc7
Merge pull request #931 from jmitchener/add_fullscreen_description
...
Add description to fullscreen client key
2016-05-31 14:17:07 -04:00
Uli Schlachter
ec076ca4bd
Properly support the XEMBED_MAPPED bit
...
The XEmbed protocol defines a special property that defines if the embedded
window wants to be visible or not. Up to now, awesome always ignored this entry
and instead behaved as if the bit was set. This commit makes it properly respect
the bit.
Testing done: None. No idea how. Apparently nothing really uses this bit,
because we didn't get bug reports about it yet.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-05-31 08:55:42 +02:00
Emmanuel Lepage Vallée
fc659b79ce
Merge pull request #923 from Elv13/widget_api_refactor
...
Widget api refactor
2016-05-30 23:22:40 -04:00
Emmanuel Lepage Vallee
756862dff6
systray: Use table.crush
2016-05-30 23:12:49 -04:00
Emmanuel Lepage Vallee
72c437a7c8
test: Fix widget cache
2016-05-30 23:12:39 -04:00
Emmanuel Lepage Vallee
505db433d6
shims: Support graph and progresssbar colors
2016-05-30 23:10:03 -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
584a48db2f
titlebar: Use _private
2016-05-30 23:09:50 -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
8d6f82f0a3
doc: Add gears.object common documentation
2016-05-30 18:00:59 -04:00
Emmanuel Lepage Vallee
8ac2db76be
doc: Add widgets common signals
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
8d9e7aacce
doc: Add a default widget documentation.
...
This will avoid copy/pasting.
This assume the widget use 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
940a623c34
shims: Add an awesome logo
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
de2d6fb521
doc: Add a system to auto-generate widgets list
...
This system allow containers, widgets and layouts to be listed in
the documentation with an example screenshot.
It uses raw HTML due to ldoc limitations, but as it is autogenerated,
it wont be user visible.
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