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 #if !defined(__CLUTTER_GTK_H_INSIDE__) && !defined(CLUTTER_GTK_COMPILATION)
23 #error "Only <clutter-gtk/clutter-gtk.h> can be included directly."
26 #ifndef __GTK_CLUTTER_UTIL_H__
27 #define __GTK_CLUTTER_UTIL_H__
30 #include <clutter/clutter.h>
34 void gtk_clutter_get_fg_color (GtkWidget *widget,
37 void gtk_clutter_get_bg_color (GtkWidget *widget,
40 void gtk_clutter_get_text_color (GtkWidget *widget,
43 void gtk_clutter_get_text_aa_color (GtkWidget *widget,
46 void gtk_clutter_get_base_color (GtkWidget *widget,
49 void gtk_clutter_get_light_color (GtkWidget *widget,
52 void gtk_clutter_get_dark_color (GtkWidget *widget,
55 void gtk_clutter_get_mid_color (GtkWidget *widget,
59 ClutterActor *gtk_clutter_texture_new_from_pixbuf (GdkPixbuf *pixbuf);
60 ClutterActor *gtk_clutter_texture_new_from_stock (GtkWidget *widget,
61 const gchar *stock_id,
63 ClutterActor *gtk_clutter_texture_new_from_icon_name (GtkWidget *widget,
64 const gchar *icon_name,
66 void gtk_clutter_texture_set_from_pixbuf (ClutterTexture *texture,
68 void gtk_clutter_texture_set_from_stock (ClutterTexture *texture,
70 const gchar *stock_id,
72 void gtk_clutter_texture_set_from_icon_name (ClutterTexture *texture,
74 const gchar *icon_name,
79 #endif /* __GTK_CLUTTER_UTIL_H__ */