Talk about variants as the dictionary values for hints.

This commit is contained in:
Christian Hammond 2005-07-28 18:25:25 +00:00
parent e09f929373
commit c0b423d9ec
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,10 @@
Mon Jul 25 22:48:54 PDT 2005 Christian Hammond <chipx86@gnupdate.org>
* notification-spec.xml:
- Bump to version 0.7.
- Mention the x, y hints.
- Talk about variants as the dictionary values for hints.
Fri Apr 01 09:11:38 PST 2005 Christian Hammond <chipx86@gnupdate.org> Fri Apr 01 09:11:38 PST 2005 Christian Hammond <chipx86@gnupdate.org>
* notification-spec.xml: * notification-spec.xml:

View File

@ -34,7 +34,7 @@
<date>28 July 2005</date> <date>28 July 2005</date>
<authorinitials>cdh</authorinitials> <authorinitials>cdh</authorinitials>
<revremark> <revremark>
Added "x" and "y" hints. Added "x" and "y" hints. Talk about the variant type for hint values.
</revremark> </revremark>
</revision> </revision>
<revision> <revision>
@ -702,6 +702,13 @@
consensus is reached, the hint name should be in the form of consensus is reached, the hint name should be in the form of
<literal>"x-<replaceable>vendor</replaceable>-<replaceable>name</replaceable>."</literal> <literal>"x-<replaceable>vendor</replaceable>-<replaceable>name</replaceable>."</literal>
</para> </para>
<para>
The value type for the hint dictionary in D-BUS is of the
<literal>DBUS_TYPE_VARIANT</literal> container type. This allows different
data types (string, integer, boolean, etc.) to be used for hints. When
adding a dictionary of hints, this type must be used, rather than putting
the actual hint value in as the dictionary value.
</para>
<para> <para>
The following table lists the standard hints as defined by this The following table lists the standard hints as defined by this
specification. Future hints may be proposed and added to this list specification. Future hints may be proposed and added to this list