GOffice.DataVectorStr¶
- Subclasses:
None
Methods¶
- Inherited:
GOffice.DataVector (9), GOffice.Data (27), GObject.Object (37)
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
GOffice.DataVector (5), GOffice.Data (16), GObject.Object (7)
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class GOffice.DataVectorStr(**kwargs)¶
- Bases:
- Abstract:
No
- classmethod new(str)¶
- Parameters:
str ([
str
]) – the values.- Returns:
the newly created
GOffice.Data
.- Return type:
- set_translate_func(func, *data)¶
- Parameters:
func (
GOffice.TranslateFunc
) – aGOffice.TranslateFunc
data (
object
orNone
) – data to be passed to func and notify
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
().