![]() |
![]() |
![]() |
Goffice Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#define GOG_TYPE_THEME #define GOG_THEME (o) #define GOG_IS_THEME (o) GogTheme; GType gog_theme_get_type (void
); GogTheme * gog_theme_new (char const *name
); GogTheme * gog_theme_new_from_file (char const *name
,char const *file
); char const * gog_theme_get_name (GogTheme const *theme
); void gog_theme_fillin_style (GogTheme const *theme
,GOStyle *style
,GogObject const *obj
,int ind
,GOStyleFlag relevant_fields
); void gog_theme_registry_add (GogTheme *theme
,gboolean is_default
); GogTheme * gog_theme_registry_lookup (char const *name
); GSList * gog_theme_registry_get_theme_names (void
);
GogTheme * gog_theme_new_from_file (char const *name
,char const *file
);
|
|
|
|
Returns : |
void gog_theme_fillin_style (GogTheme const *theme
,GOStyle *style
,GogObject const *obj
,int ind
,GOStyleFlag relevant_fields
);
Fill in the auto aspects of style
based on theme
's element for objects of
type/role similar to obj
with index ind
. If relevant_fields
is GO_STYLE_ALL,
fillin the entire style, not just the auto portions included in relevant_fields
.
void gog_theme_registry_add (GogTheme *theme
,gboolean is_default
);
Keep a pointer to theme
in graph theme registry.
This function does not add a reference to theme
.
|
a GogTheme |
|
bool |
GogTheme * gog_theme_registry_lookup (char const *name
);
|
a theme name |
Returns : |
a GogTheme from theme registry. |
GSList * gog_theme_registry_get_theme_names (void
);
Returns : |
a newly allocated theme name list from theme registry. |