Class (GI Struct)

Gcr-4GcrParsedAbstract

A parsed item parsed by a Gcr.Parser.

Index

Constructors

Properties

$gtype: GType<Parsed>

Methods

  • Get the attributes which make up the parsed item.

    Returns Attributes

    the attributes for the item; these are owned by the parsed item and should not be freed

  • Get the raw data block for the parsed item.

    Returns Uint8Array<ArrayBufferLike>

    the raw data of the parsed item, or null

  • Get the descirption for a parsed item.

    Returns string

    the description

  • Get the filename of the parsed item.

    Returns string

    the filename of the parsed item, or null

  • Get the label for the parsed item.

    Returns string

    the label for the item

  • Add a reference to a parsed item. An item may not be shared across threads until it has been referenced at least once.

    Returns Parsed

    the parsed item

  • Unreferences a parsed item which was referenced with gcr_parsed_ref()

    Parameters

    • Optionalparsed: any

      a parsed item

    Returns void