MetaTheme

MetaTheme — Metacity Theme Rendering

Synopsis

MetaTheme *         meta_theme_get_current              (void);
void                meta_theme_set_current              (const char *name,
                                                         gboolean force_reload);
MetaTheme *         meta_theme_new                      (void);
void                meta_theme_free                     (MetaTheme *theme);
gboolean            meta_theme_validate                 (MetaTheme *theme,
                                                         GError **error);
MetaTheme *         meta_theme_load                     (const char *theme_name,
                                                         GError **err);
                    MetaTheme;

Description

The window decorations drawn by Metacity are described by files on disk known internally as "themes" (externally as "window border themes" on http://art.gnome.org/themes/metacity/ or "Metacity themes"). This file contains most of the code necessary to support themes; it does not contain the XML parser, which is in theme-parser.c.

Details

meta_theme_get_current ()

MetaTheme *         meta_theme_get_current              (void);

meta_theme_set_current ()

void                meta_theme_set_current              (const char *name,
                                                         gboolean force_reload);

meta_theme_new ()

MetaTheme *         meta_theme_new                      (void);

meta_theme_free ()

void                meta_theme_free                     (MetaTheme *theme);

meta_theme_validate ()

gboolean            meta_theme_validate                 (MetaTheme *theme,
                                                         GError **error);

meta_theme_load ()

MetaTheme *         meta_theme_load                     (const char *theme_name,
                                                         GError **err);

MetaTheme

typedef struct _MetaTheme MetaTheme;