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
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
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
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
Emmanuel Lepage Vallee
dd121623b5
gears.geometry: Mutualize getbycoord
2016-05-16 14:03:00 -04:00
Emmanuel Lepage Vallee
251614afff
wibox: Remove the dependency on `awful`
2016-05-16 01:18:28 -04:00
Emmanuel Lepage Vallee
77380eb121
wibox: Move the documentation to a shared file
...
To be re-used by wibars, tooltips and menus
2016-05-15 17:17:12 -04:00
Emmanuel Lepage Vallee
a141dbfd06
wibox: Add screen properties
2016-05-15 17:17:11 -04:00
Emmanuel Lepage Vallee
129b3b1d50
wibox: Add wibox property support
...
Just like the miss handler system, but for wiboxes.
This will simplify the API as there was a mix of properties
and accessors in the API doc.
2016-05-15 17:17:09 -04:00
Emmanuel Lepage Vallee
9a72062cac
wibox: Turn into "real" objects.
...
Before this commit, it was necessary to call 'rawset' to be
able to add new fields to the wibox. This is no longer required.
This solution was choosen because wibox is itself a base class of
menus and wibars. Those classes can now add new properties without
hacks.
2016-05-15 17:15:55 -04:00
Emmanuel Lepage Vallee
df6bc2f6bc
wibox: Make the table argument optional
...
For consistency with other objects.
2016-05-15 17:15:55 -04:00
Uli Schlachter
a6d61ed39e
Merge branch 'doc_shared' of https://github.com/Elv13/awesome-1
2016-05-09 18:42:49 +02:00
Uli Schlachter
4c9280d2bb
Merge branch 'no-screens' of https://github.com/psychon/awesome
2016-05-09 18:40:35 +02:00
Emmanuel Lepage Vallee
b0571a8128
stack: Use the shared documentation and fix the doc
2016-05-09 01:37:48 -04:00
Emmanuel Lepage Vallee
f8845fd970
ratio: Use the shared documentation and fix the doc
2016-05-09 01:37:48 -04:00
Emmanuel Lepage Vallee
76cb62a744
flex: Use the shared documentation and fix the doc
2016-05-09 01:37:48 -04:00
Emmanuel Lepage Vallee
533a4bfd8f
fixed: Use the shared documentation and fix the doc
2016-05-09 01:37:48 -04:00
Emmanuel Lepage Vallee
81064daa42
doc: Fix find_widgets() doc.
2016-05-04 17:25:05 -04:00
Emmanuel Lepage Vallee
baf290a8b2
drawin: Add a get_wibox function
...
As wibox contain a drawin, but isn't one, it is necessary to map
drawin to wibox.
This could eventually be fixed by turning wibox into drawin just
like the client, tag and screen do.
2016-05-04 17:25:05 -04:00
Emmanuel Lepage Vallee
5404b3c374
drawin: Add a property miss handler
2016-05-04 16:37:39 -04:00
Emmanuel Lepage Vallee
1a114e4e57
wibox: Import drawin documentation
...
This improve consistency.
2016-05-03 17:12:54 -04:00
Uli Schlachter
ede88d8bce
Fix awful.screen.getbycoord when no screens exist
...
When there are no screens, screen[1] causes an error. Thus, this isn't a safe
fallback for these functions. Instead, this commit makes the code prefer the
primary screen, if possible. If no screen exists, then screen.primary will be
nil, but at least it won't throw an error like screen[1] does.
(This also changes the outdated copy of getbycoord that exists in
wibox.drawable)
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-04-28 17:42:15 +02:00
Daniel Hahler
3e5b1b3ba9
Merge pull request #782 from psychon/wallpaper-change
...
Changes to wallpaper change
2016-04-03 18:35:27 +02:00
Emmanuel Lepage Vallee
c64c223ede
tests: Improve wibox.widget.background documentation
2016-03-31 04:45:46 -04:00
Emmanuel Lepage Vallee
e7652a053d
tests: Add a new testing framework
2016-03-31 04:45:45 -04:00