:right-sidebar: True DBusAnnotationInfo =================================================================== .. currentmodule:: gi.repository.Gio .. versionadded:: 2.26 .. class:: DBusAnnotationInfo(*args, **kwargs) :no-contents-entry: Information about an annotation. Methods ------- .. rst-class:: interim-class .. class:: DBusAnnotationInfo :no-index: .. classmethod:: lookup(name: str) -> str | None Looks up the value of an annotation. The cost of this function is O(n) in number of annotations. .. versionadded:: 2.26 :param name: The name of the annotation to look up. Fields ------ .. rst-class:: interim-class .. class:: DBusAnnotationInfo :no-index: .. attribute:: annotations A pointer to a :const:`None`-terminated array of pointers to :obj:`~gi.repository.Gio.DBusAnnotationInfo` structures or :const:`None` if there are no annotations. .. attribute:: key The name of the annotation, e.g. "org.freedesktop.DBus.Deprecated". .. attribute:: ref_count The reference count or -1 if statically allocated. .. attribute:: value The value of the annotation.