diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-01-11 00:09:34 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-01-11 00:09:34 -0500 |
commit | 79ba8a5f8e2c5ace4585d8a5ecacab3c681fedbe (patch) | |
tree | bdebe4cb02bcd1fdd17874687e7f1b779732e3cc | |
parent | 7061fe1c6a54434e9b169ebe5681b24e59fda7ee (diff) | |
download | gtk+-wip/matthiasc/caret.tar.gz |
Document new CSS propertieswip/matthiasc/caret
Add caret-animation, caret-shape and the caret shorthand to the docs.
-rw-r--r-- | docs/reference/gtk/css-properties.xml | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/docs/reference/gtk/css-properties.xml b/docs/reference/gtk/css-properties.xml index 053cd14150..635a17eb49 100644 --- a/docs/reference/gtk/css-properties.xml +++ b/docs/reference/gtk/css-properties.xml @@ -257,10 +257,64 @@ We use <literallayout> for syntax productions, and each line is put in a <code> <entry></entry> <entry>Used for the secondary caret in bidirectional text</entry> </row> + <row> + <entry>caret-animation</entry> + <entry><code>〈caret animation〉</code></entry> + <entry><code>auto</code></entry> + <entry>✓</entry> + <entry>✓</entry> + <entry><ulink url="http://www.w3.org/TR/css-ui-4/#caret-animation">CSS4</ulink></entry> + <entry>CSS allows a fade value</entry> + </row> + <row> + <entry>caret-shape</entry> + <entry><code>〈caret shape〉</code></entry> + <entry><code>auto</code></entry> + <entry>✓</entry> + <entry>✓</entry> + <entry><ulink url="http://www.w3.org/TR/css-ui-4/#caret-shape">CSS4</ulink></entry> + <entry></entry> + </row> + </tbody> + </tgroup> + <tgroup cols="5"> + <thead> + <row><entry>Shorthand</entry><entry>Value</entry><entry>Initial</entry><entry>Reference</entry><entry>Notes</entry></row> + </thead> + <tbody> + <row> + <entry>caret</entry> + <entry><code>〈caret-color〉 || 〈caret-animation〉 || 〈caret-shape〉</code></entry> + <entry>see individual properties</entry> + <entry><ulink url="http://www.w3.org/TR/css-ui-4/#caret">CSS4</ulink></entry> + <entry>-gtk-secondary-caret-color is set to the same value as caret-color</entry> + </row> </tbody> </tgroup> </table> +<literallayout><code>〈caret animation〉 = auto | blink | none</code> +<code>〈caret shape〉 = auto | bar | block | underscore</code> +</literallayout> + + <para> + The text decoration properties determine whether to apply extra decorations + when rendering text. + </para> + + <table pgwide="1"> + <title>Icon Properties</title> + <tgroup cols="7"> + <colspec colnum="4" align="center"/> + <colspec colnum="5" align="center"/> + <thead> + <row><entry>Name</entry><entry>Value</entry><entry>Initial</entry><entry>Inh.</entry><entry>Ani.</entry><entry>Reference</entry><entry>Notes</entry></row> + </thead> + <tbody> + <row> + <entry>‑gtk‑icon‑source</entry> + <entry><code>builtin | 〈image〉 | none</code></entry> + <entry><code>builtin</code></entry> <para> The caret properties provide a way to change the appearance of the insertion caret in editable text. |