GOffice.DataVectorStr

g GObject.Object GObject.Object GOffice.Data GOffice.Data GObject.Object->GOffice.Data GOffice.DataVector GOffice.DataVector GOffice.Data->GOffice.DataVector GOffice.DataVectorStr GOffice.DataVectorStr GOffice.DataVector->GOffice.DataVectorStr

Subclasses:

None

Methods

Inherited:

GOffice.DataVector (9), GOffice.Data (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (str)

set_translate_func (func, *data)

set_translation_domain (domain)

Virtual Methods

Inherited:

GOffice.DataVector (5), GOffice.Data (16), GObject.Object (7)

Properties

None

Signals

Inherited:

GOffice.Data (1), GObject.Object (1)

Fields

Inherited:

GOffice.Data (1), GObject.Object (1)

Class Details

class GOffice.DataVectorStr(**kwargs)
Bases:

GOffice.DataVector

Abstract:

No

classmethod new(str)
Parameters:

str ([str]) – the values.

Returns:

the newly created GOffice.Data.

Return type:

GOffice.Data

set_translate_func(func, *data)
Parameters:

Sets a function to be used for translating elements of vec

set_translation_domain(domain)
Parameters:

domain (str) – the translation domain to use for dgettext() calls

Sets the translation domain and uses dgettext() for translating the elements of vec. Note that libgoffice expects all strings to be encoded in UTF-8, therefore the translation domain must have its codeset set to UTF-8, see bind_textdomain_codeset() in the gettext() documentation.

If you’re not using gettext() for localization, see GOffice.DataVectorStr.set_translate_func().