diff options
author | Sebastian Keller <sebastian-keller@gmx.de> | 2012-02-10 23:55:18 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-02-11 01:48:03 +0100 |
commit | f33fe5b67775361c1c4fefa02baa1d331a167a87 (patch) | |
tree | 1b9b4226b5e95c5f16eec97a692dd297b8eddf57 /gtk/gtkcssprovider.c | |
parent | e2339f5ebd0f7945e3e3f3d35aa91a27c65a9d6b (diff) | |
download | gtk+-f33fe5b67775361c1c4fefa02baa1d331a167a87.tar.gz |
docs: Add documentation for alpha() in CSS
Diffstat (limited to 'gtk/gtkcssprovider.c')
-rw-r--r-- | gtk/gtkcssprovider.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c index 5140e20985..b1134f68ce 100644 --- a/gtk/gtkcssprovider.c +++ b/gtk/gtkcssprovider.c @@ -433,6 +433,14 @@ * <entry>darker(@color)</entry> * <entry>A darker variant of @color</entry> * </row> + * <row> + * <entry>alpha(@color, @f)</entry> + * <entry>Modifies passed color's alpha by a factor @f. @f is a + * floating point number. @f < 1.0 results in a more transparent + * color while @f > 1.0 results in a more opaque color. + * </entry> + * <entry>alhpa(blue, 0.5)</entry> + * </row> * </tbody> * </tgroup> * </informaltable> |