Class

TalkatuHtmlRenderer

Description

abstract class Talkatu.HtmlRenderer : GObject.Object {
  parent_instance: GObject
}
No description available.

Ancestors

Instance methods

talkatu_html_renderer_render

Renders the given html calling the TalkatuHtmlRendererClass functions as necessary.

talkatu_html_renderer_reset

Resets renderer back to a clean state so that it can render new HTML.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct TalkatuHtmlRendererClass {
  void (* reset) (
    TalkatuHtmlRenderer* renderer
  );
  void (* element_start) (
    TalkatuHtmlRenderer* renderer,
    const gchar* name,
    const gchar** attribute_names,
    const gchar** attribute_values
  );
  void (* element_finish) (
    TalkatuHtmlRenderer* renderer,
    const gchar* name
  );
  void (* text) (
    TalkatuHtmlRenderer* renderer,
    const gchar* text
  );
  void (* comment) (
    TalkatuHtmlRenderer* renderer,
    const gchar* comment
  );
  
}

An abstract class that will walk an HTML document and call the instance methods of the child class for each node that is found.

Class members
reset: void (* reset) ( TalkatuHtmlRenderer* renderer )
No description available.
element_start: void (* element_start) ( TalkatuHtmlRenderer* renderer, const gchar* name, const gchar** attribute_names, const gchar** attribute_values )
No description available.
element_finish: void (* element_finish) ( TalkatuHtmlRenderer* renderer, const gchar* name )
No description available.
text: void (* text) ( TalkatuHtmlRenderer* renderer, const gchar* text )
No description available.
comment: void (* comment) ( TalkatuHtmlRenderer* renderer, const gchar* comment )
No description available.

Virtual methods

Talkatu.HtmlRendererClass.comment
No description available.
Talkatu.HtmlRendererClass.element_finish
No description available.
Talkatu.HtmlRendererClass.element_start
No description available.
Talkatu.HtmlRendererClass.reset

Resets renderer back to a clean state so that it can render new HTML.

Talkatu.HtmlRendererClass.text
No description available.