doc(tray): Add type at the beginning
This commit is contained in:
parent
fc422b1107
commit
6e0cff97ff
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
Tray Module
|
Tray Module
|
||||||
===========
|
===========
|
||||||
|
.. poly-setting:: type = internal/tray
|
||||||
|
|
||||||
.. versionadded:: 3.7.0
|
.. versionadded:: 3.7.0
|
||||||
|
|
||||||
@ -26,8 +27,6 @@ positioning them correctly.
|
|||||||
For transparent background colors, the tray will use pseudo-transparency, true
|
For transparent background colors, the tray will use pseudo-transparency, true
|
||||||
transparency is not possible for the tray icons.
|
transparency is not possible for the tray icons.
|
||||||
|
|
||||||
TODO mention the ``type`` setting somewhere
|
|
||||||
|
|
||||||
Formats
|
Formats
|
||||||
-------
|
-------
|
||||||
|
|
||||||
@ -60,9 +59,7 @@ Settings
|
|||||||
|
|
||||||
Size of individual tray icons
|
Size of individual tray icons
|
||||||
|
|
||||||
Relative to bar height
|
:type: |type-pwo|, relative to bar height, non-negative
|
||||||
|
|
||||||
:type: |type-pwo|, non-negative
|
|
||||||
:default: 66%
|
:default: 66%
|
||||||
|
|
||||||
.. poly-setting:: tray-background
|
.. poly-setting:: tray-background
|
||||||
@ -71,17 +68,18 @@ Settings
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
This only affects the color of the individual icons and not the space in
|
This only affects the color of the individual icons and not the space in
|
||||||
between, changing this setting will likely not look good.
|
between, changing this setting to anything else than the bar background
|
||||||
|
will likely not look good.
|
||||||
|
|
||||||
:type: |type-color|
|
:type: |type-color|
|
||||||
:default: ``${root.background}``
|
:default: ``${root.background}``
|
||||||
|
|
||||||
.. poly-setting:: tray-foreground
|
.. poly-setting:: tray-foreground
|
||||||
|
|
||||||
Tray icon color hint
|
Tray icon color
|
||||||
|
|
||||||
This serves as a hint to the tray icon application what color to use for the
|
This serves as a hint to the tray icon application for which color to use for
|
||||||
icon.
|
the icon.
|
||||||
|
|
||||||
This is not guaranteed to have any effect (likely only in GTK3) because it
|
This is not guaranteed to have any effect (likely only in GTK3) because it
|
||||||
targets a non-standard part of the `system tray protocol <systray-spec_>`_ by
|
targets a non-standard part of the `system tray protocol <systray-spec_>`_ by
|
||||||
|
Loading…
Reference in New Issue
Block a user