|  |  |  | Goffice Reference Manual |  | 
|---|---|---|---|---|
            GODataVector;
            GODataVectorVal;
            GODataVectorStr;
int         go_data_vector_get_len          (GODataVector *vec);
double*     go_data_vector_get_values       (GODataVector *vec);
double      go_data_vector_get_value        (GODataVector *vec,
                                             unsigned i );
char*       go_data_vector_get_str          (GODataVector *vec,
                                             unsigned i );
void        go_data_vector_get_minmax       (GODataVector *vec,
                                             double *min,
                                             double *max);
GOData*     go_data_vector_val_new          (double *val,
                                             unsigned n ,
                                             GDestroyNotify notify);
GOData*     go_data_vector_str_new          (char const * const *str,
                                             unsigned n ,
                                             GDestroyNotify notify);
void        go_data_vector_str_set_translate_func
                                            (GODataVectorStr *vector,
                                             GOTranslateFunc func,
                                             gpointer data,
                                             GDestroyNotify notify);
void        go_data_vector_str_set_translation_domain
                                            (GODataVectorStr *vector,
                                             char const *domain);
GObject +----GOData +----GODataVector +----GODataVectorStr +----GODataVectorVal
GObject +----GOData +----GODataVector +----GODataVectorVal
GObject +----GOData +----GODataVector +----GODataVectorStr
double go_data_vector_get_value (GODataVector *vec, unsigned i );
| vec: | |
| Param2: | |
| Returns : | 
char* go_data_vector_get_str (GODataVector *vec, unsigned i );
| vec: | |
| Param2: | |
| Returns : | 
void go_data_vector_get_minmax (GODataVector *vec, double *min, double *max);
| vec: | |
| min: | |
| max: | 
GOData* go_data_vector_val_new (double *val, unsigned n , GDestroyNotify notify);
| val: | |
| Param2: | |
| notify: | |
| Returns : | 
GOData* go_data_vector_str_new (char const * const *str, unsigned n , GDestroyNotify notify);
| str: | |
| Param2: | |
| notify: | |
| Returns : | 
void        go_data_vector_str_set_translate_func
                                            (GODataVectorStr *vector,
                                             GOTranslateFunc func,
                                             gpointer data,
                                             GDestroyNotify notify);
Sets a function to be used for translating elements of vec
| vector: | a GODataVectorStr | 
| func: | a GOTranslateFunc | 
| data: | data to be passed to funcandnotify | 
| notify: | a GODestroyNotify function to be called when vecis 
  destroyed or when the translation function is changed | 
void        go_data_vector_str_set_translation_domain
                                            (GODataVectorStr *vector,
                                             char const *domain);
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 
go_data_vector_str_set_translate_func().
| vector: | a GODataVectorStr | 
| domain: | the translation domain to use for dgettext()calls |