Ardour  9.0-pre0-582-g084a23a80d
gtkiconcache.h
Go to the documentation of this file.
1 /* gtkiconcache.h
2  * Copyright (C) 2004 Anders Carlsson <andersca@gnome.org>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  */
19 #ifndef __GTK_ICON_CACHE_H__
20 #define __GTK_ICON_CACHE_H__
21 
22 #include <gdk-pixbuf/gdk-pixbuf.h>
23 #include <gdk/gdk.h>
24 
25 typedef struct _GtkIconCache GtkIconCache;
26 typedef struct _GtkIconData GtkIconData;
27 
29 {
31  gint x0, y0, x1, y1;
32 
35 
36  gchar *display_name;
37 };
38 
39 GtkIconCache *_gtk_icon_cache_new (const gchar *data);
42  const gchar *directory);
44  const gchar *icon_name);
46  const gchar *icon_name,
47  const gchar *directory);
49  const gchar *directory,
50  GHashTable *hash_table);
51 
53  const gchar *icon_name,
54  gint directory_index);
56  const gchar *icon_name,
57  gint directory_index);
59  const gchar *icon_name,
60  gint directory_index);
61 
64 
65 
66 #endif /* __GTK_ICON_CACHE_H__ */
typedefG_BEGIN_DECLS struct _GdkPoint GdkPoint
Definition: gdktypes.h:68
GtkIconCache * _gtk_icon_cache_ref(GtkIconCache *cache)
void _gtk_icon_cache_add_icons(GtkIconCache *cache, const gchar *directory, GHashTable *hash_table)
GtkIconCache * _gtk_icon_cache_new(const gchar *data)
gint _gtk_icon_cache_get_icon_flags(GtkIconCache *cache, const gchar *icon_name, gint directory_index)
GtkIconCache * _gtk_icon_cache_new_for_path(const gchar *path)
GdkPixbuf * _gtk_icon_cache_get_icon(GtkIconCache *cache, const gchar *icon_name, gint directory_index)
gboolean _gtk_icon_cache_has_icon_in_directory(GtkIconCache *cache, const gchar *icon_name, const gchar *directory)
gint _gtk_icon_cache_get_directory_index(GtkIconCache *cache, const gchar *directory)
gboolean _gtk_icon_cache_has_icon(GtkIconCache *cache, const gchar *icon_name)
GtkIconData * _gtk_icon_cache_get_icon_data(GtkIconCache *cache, const gchar *icon_name, gint directory_index)
void _gtk_icon_cache_unref(GtkIconCache *cache)
struct _GtkIconCache GtkIconCache
Definition: gtkiconcache.h:25
gchar * display_name
Definition: gtkiconcache.h:36
gboolean has_embedded_rect
Definition: gtkiconcache.h:30
gint n_attach_points
Definition: gtkiconcache.h:34
GdkPoint * attach_points
Definition: gtkiconcache.h:33