AtkDocument

Name

AtkDocument -- The ATK interface which allows access to a DOM associated with on object.

Synopsis



struct      AtkDocument;
struct      AtkDocumentIface;
G_CONST_RETURN gchar* atk_document_get_document_type
                                            (AtkDocument *document);
gpointer    atk_document_get_document       (AtkDocument *document);

Description

The AtkDocument interface should be supported by any object that has an associated document object model (DOM). This interface provides the standard mechanism allowing an assistive technology access to the DOM.

Details

struct AtkDocument

struct AtkDocument;


struct AtkDocumentIface

struct AtkDocumentIface
{
  GTypeInterface parent;
  G_CONST_RETURN gchar* ( *get_document_type) (AtkDocument              *document);
  gpointer              ( *get_document)      (AtkDocument              *document);

  AtkFunction pad1;
  AtkFunction pad2;
  AtkFunction pad3;
  AtkFunction pad4;
  AtkFunction pad5;
  AtkFunction pad6;
  AtkFunction pad7;
  AtkFunction pad8;
};


atk_document_get_document_type ()

G_CONST_RETURN gchar* atk_document_get_document_type
                                            (AtkDocument *document);

Gets a string indicating the document type.


atk_document_get_document ()

gpointer    atk_document_get_document       (AtkDocument *document);

Gets a gpointer that points to an instance of the DOM. It is up to the caller to check atk_document_get_type to determine how to cast this pointer.