1 /* gtk-clutter-util.h: GTK+ integration utilities
3 * Copyright (C) 2008 OpenedHand
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not see <http://www.fsf.org/licensing>.
19 * Emmanuele Bassi <ebassi@openedhand.com>
22 #ifndef __GTK_CLUTTER_UTIL_H__
23 #define __GTK_CLUTTER_UTIL_H__
26 #include <clutter/clutter.h>
30 void gtk_clutter_get_fg_color (GtkWidget *widget,
33 void gtk_clutter_get_bg_color (GtkWidget *widget,
36 void gtk_clutter_get_text_color (GtkWidget *widget,
39 void gtk_clutter_get_text_aa_color (GtkWidget *widget,
42 void gtk_clutter_get_base_color (GtkWidget *widget,
45 void gtk_clutter_get_light_color (GtkWidget *widget,
48 void gtk_clutter_get_dark_color (GtkWidget *widget,
51 void gtk_clutter_get_mid_color (GtkWidget *widget,
55 ClutterActor *gtk_clutter_texture_new_from_pixbuf (GdkPixbuf *pixbuf);
56 ClutterActor *gtk_clutter_texture_new_from_stock (GtkWidget *widget,
57 const gchar *stock_id,
59 ClutterActor *gtk_clutter_texture_new_from_icon_name (GtkWidget *widget,
60 const gchar *icon_name,
62 void gtk_clutter_texture_set_from_pixbuf (ClutterTexture *texture,
64 void gtk_clutter_texture_set_from_stock (ClutterTexture *texture,
66 const gchar *stock_id,
68 void gtk_clutter_texture_set_from_icon_name (ClutterTexture *texture,
70 const gchar *icon_name,
75 #endif /* __GTK_CLUTTER_UTIL_H__ */