GMime.FilterCharset

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new (from_charset, to_charset)

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

cd

object

r

charset conversion state

from_charset

str

r

charset that the filter is converting from

parent_object

GMime.Filter

r

parent GMime.Filter

to_charset

str

r

charset the filter is converting to

Class Details

class GMime.FilterCharset(**kwargs)
Bases:

GMime.Filter

Abstract:

No

Structure:

GMime.FilterCharsetClass

A filter to convert between charsets.

classmethod new(from_charset, to_charset)
Parameters:
  • from_charset (str) – charset to convert from

  • to_charset (str) – charset to convert to

Returns:

a new charset filter or None if the charset conversion is not possible.

Return type:

GMime.Filter

Creates a new GMime.FilterCharset filter.