mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05: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>
|
||||
<td>enum (e.g. Clutter constants)</td>
|
||||
<td>string</td>
|
||||
<td><code>CLUTTER_ALIGN_X_AXIS</code> =>
|
||||
<code>"CLUTTER_ALIGN_X_AXIS"</code></td>
|
||||
<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>
|
||||
<td>ClutterColor</td>
|
||||
|
Loading…
Reference in New Issue
Block a user