1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) Naba Kumar <naba@gnome.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 #include <gtk/gtkwidget.h>
27 GtkWidget
* anjuta_res_lookup_widget (GtkWidget
*widget
,
28 const gchar
*widget_name
);
29 GtkWidget
* anjuta_res_get_image (const gchar
* filename
);
30 GtkWidget
* anjuta_res_get_image_sized (const gchar
* filename
,
31 gint width
, gint height
);
33 /* All the return strings MUST be freed */
34 gchar
* anjuta_res_get_pixmap_dir (void);
35 gchar
* anjuta_res_get_data_dir (void);
36 gchar
* anjuta_res_get_help_dir (void);
37 gchar
* anjuta_res_get_help_dir_locale (const gchar
* locale
);
38 gchar
* anjuta_res_get_doc_dir (void);
40 /* All the return strings MUST be freed */
41 gchar
* anjuta_res_get_pixmap_file (const gchar
* pixfile
);
42 gchar
* anjuta_res_get_data_file (const gchar
* pixfile
);
43 gchar
* anjuta_res_get_help_file (const gchar
* helpfile
);
44 gchar
* anjuta_res_get_help_file_locale (const gchar
* helpfile
,
46 gchar
* anjuta_res_get_doc_file (const gchar
* docfile
);
49 void anjuta_res_help_search (const gchar
* word
);
51 /* URI handler -- wrapped over gnome_url_show() */
52 void anjuta_res_url_show(const char *url
);
56 #endif /* _RESOURCES_H_ */