summaryrefslogtreecommitdiff
path: root/gtk/gtkrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkrc.h')
-rw-r--r--gtk/gtkrc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkrc.h b/gtk/gtkrc.h
index d1a7e1cdfc..28ce607124 100644
--- a/gtk/gtkrc.h
+++ b/gtk/gtkrc.h
@@ -39,6 +39,15 @@ void gtk_rc_add_widget_name_style (GtkStyle *style,
void gtk_rc_add_widget_class_style (GtkStyle *style,
const gchar *pattern);
+/* Tell gtkrc to use a custom routine to load images specified in rc files instead of
+ the default xpm-only loader */
+typedef GdkPixmap * (*GtkImageLoader) (GdkWindow *window,
+ GdkColormap *colormap,
+ GdkBitmap **mask,
+ GdkColor *transparent_color,
+ const gchar *filename);
+void gtk_rc_set_loader(GtkImageLoader loader);
+
#ifdef __cplusplus
}