ATK Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
struct AtkDocument; struct AtkDocumentIface; G_CONST_RETURN gchar* atk_document_get_document_type (AtkDocument *document); gpointer atk_document_get_document (AtkDocument *document); |
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.
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; }; |
G_CONST_RETURN gchar* atk_document_get_document_type (AtkDocument *document); |
Gets a string indicating the document type.
document : | a GObject instance that implements AtkDocumentIface |
Returns : | a string indicating the document type |
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.
document : | a GObject instance that implements AtkDocumentIface |
Returns : | a gpointer that points to an instance of the DOM. |