GMime.FilterHTML

g GMime.Filter GMime.Filter GMime.FilterHTML GMime.FilterHTML GMime.Filter->GMime.FilterHTML GObject.Object GObject.Object GObject.Object->GMime.Filter

Subclasses:

None

Methods

Inherited:

GMime.Filter (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (flags, colour)

Virtual Methods

Inherited:

GMime.Filter (4), GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

citation_depth

int

r

current citation depth level.

colour

int

r

cite colour

column

int

r

current column

flags

int

r

flags specifying HTML conversion rules

parent_object

GMime.Filter

r

parent GMime.Filter

pre_open

int

r

currently inside of a ‘pre’ tag.

scanner

object

r

URL scanner state

Class Details

class GMime.FilterHTML(**kwargs)
Bases:

GMime.Filter

Abstract:

No

Structure:

GMime.FilterHTMLClass

A filter for converting text/plain into text/html.

classmethod new(flags, colour)
Parameters:
  • flags (int) – html flags

  • colour (int) – citation colour

Returns:

a new html filter.

Return type:

GMime.Filter

Creates a new GMime.FilterHTML filter which can be used to convert a plain UTF-8 text stream into an html stream.