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

Properties

None

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().