21 #ifndef __EDELIB_THEME_H__
22 #define __EDELIB_THEME_H__
24 #include "edelib-global.h"
33 typedef void (*ThemeErrorHandler)(
const char *str,
void *data);
54 void init_interpreter(
void);
60 Theme(
const char *msg_domain =
"edelib");
68 bool load(
const char *f);
78 bool loaded(
void)
const;
85 void set_error_handler(ThemeErrorHandler func,
void *data = 0);
88 void *error_handler_data(
void)
const;
91 ThemeErrorHandler error_handler(
void)
const;
105 bool get_item(
const char *style_name,
const char *item_name,
char *ret,
unsigned int sz);
112 bool get_item(
const char *style_name,
const char *item_name,
long &ret,
long fallback = 0);
115 const char *author(
void)
const;
118 const char *name(
void)
const;
121 const char *sample_image(
void)
const;
127 scheme* get_interpreter(
void);
#define E_DISABLE_CLASS_COPY(klass)
Definition: edelib-global.h:161
Theming engine for widgets.
Definition: Theme.h:48