bugrepair: drag and drop
[gpiv.git] / src / support.h
blobb7a8d2c8931082ca292c78223ef55e3fb6c11bf6
1 /*----------------------------------------------------------------------
3 gpiv - Graphic program for Particle Image Velocimetry, based on gtk/gnome
4 libraries.
6 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008
7 Gerber van der Graaf <gerber_graaf@users.sourceforge.net>
9 This file is part of gpiv.
11 Gpiv is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2, or (at your option)
14 any later version.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software Foundation,
23 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 ----------------------------------------------------------------------*/
28 * $Log: support.h,v $
29 * Revision 1.3 2007-06-06 17:00:48 gerber
30 * Retreives images/data from URI using Gnome Virtual File System.
32 * Revision 1.2 2006/01/31 14:28:13 gerber
33 * version 0.3.0
35 * Revision 1.1.1.1 2003/06/17 17:10:52 gerber
36 * Imported gpiv
40 #include <gnome.h>
43 * Public Functions.
47 * This function returns a widget in a component created by Glade.
48 * Call it with the toplevel widget in the component (i.e. a window/dialog),
49 * or alternatively any widget in the component, and the name of the widget
50 * you want returned.
52 GtkWidget* lookup_widget (GtkWidget *widget,
53 const gchar *widget_name);
58 * Private Functions.
61 /* This is used to create the pixmaps used in the interface. */
62 GtkWidget* create_pixmap (GtkWidget *widget,
63 const gchar *filename);
65 /* This is used to create the pixbufs used in the interface. */
66 GdkPixbuf* create_pixbuf (const gchar *filename);
68 /* This is used to set ATK action descriptions. */
69 void glade_set_atk_action_description (AtkAction *action,
70 const gchar *action_name,
71 const gchar *description);