interface Atk.StreamableContent : GObject.ObjectTheATK interface which provides access to streamable content.
An interface whereby an object allows its backing content to bestreamed to clients. Typical implementors would be images oricons,HTML content, or multimedia display/rendering widgets.
Negotiation of content type is allowed. Clients may examine thebacking data and transform, convert, or parse the content in orderto present it in an alternate form to end-users.
The AtkStreamableContent interface is particularly useful forsaving, printing, or post-processing entire documents, or forpersisting alternate views of a document. If document contentitself is being serialized, stored, or converted, then use of theAtkStreamableContent interface can help address performanceissues. Unlike mostATK interfaces, this interface is not stronglytied to the current user-agent view of the a particular document,but may in some cases give access to the underlying model data.
In order to implement StreamableContent, your type must inherit fromGObject.
Gets the character string of the specified mime type. The first mimetype is at position 0, the second at position 1, and so on.
Get a string representing aURI inIETF standard format(see http://www.ietf.org/rfc/rfc2396.txt) from which the object’s contentmay be streamed in the specified mime-type, if one is available.If mime_type isNULL, theURI for the default (and possibly only) mime-type is returned.
since: 1.12
struct AtkStreamableContentIface { GTypeInterface parent; gint (* get_n_mime_types) ( AtkStreamableContent* streamable ); const gchar* (* get_mime_type) ( AtkStreamableContent* streamable, gint i ); GIOChannel* (* get_stream) ( AtkStreamableContent* streamable, const gchar* mime_type ); const gchar* (* get_uri) ( AtkStreamableContent* streamable, const gchar* mime_type ); AtkFunction pad1; AtkFunction pad2; AtkFunction pad3; }No description available.
parent | |
No description available. | |
get_n_mime_types | |
No description available. | |
get_mime_type | |
No description available. | |
get_stream | |
No description available. | |
get_uri | |
No description available. | |
pad1 | |
No description available. | |
pad2 | |
No description available. | |
pad3 | |
No description available. |
Gets the character string of the specified mime type. The first mimetype is at position 0, the second at position 1, and so on.
Get a string representing aURI inIETF standard format(see http://www.ietf.org/rfc/rfc2396.txt) from which the object’s contentmay be streamed in the specified mime-type, if one is available.If mime_type isNULL, theURI for the default (and possibly only) mime-type is returned.
since: 1.12