mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
cookbook: Mention nick names as possible values for enums
As JSON can make use of nicknames for GEnum properties, mentioned this in the table mapping C property values to their JSON equivalents (as the nick name is a much shorter and cleaner way of setting a property in JSON).
This commit is contained in:
parent
b532f95917
commit
6db795baf6
@ -262,8 +262,11 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>enum (e.g. Clutter constants)</td>
|
<td>enum (e.g. Clutter constants)</td>
|
||||||
<td>string</td>
|
<td>string</td>
|
||||||
<td><code>CLUTTER_ALIGN_X_AXIS</code> =>
|
<td>
|
||||||
<code>"CLUTTER_ALIGN_X_AXIS"</code></td>
|
<code>CLUTTER_ALIGN_X_AXIS</code> =>
|
||||||
|
<code>"CLUTTER_ALIGN_X_AXIS"</code> or <code>"x-axis"</code>
|
||||||
|
(the latter is the GEnum nickname for the constant)
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>ClutterColor</td>
|
<td>ClutterColor</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user