1 /* 2 3 Euchre - a free as in freedom and as in beer version of the 4 euchre card game 5 6 Copyright 2002 C Nathan Buckles (nbuckles@bigfoot.com) 7 8 This program is free software; you can redistribute it and/or modify 9 it under the terms of the GNU General Public License as published by 10 the Free Software Foundation; either version 2 of the License, or 11 (at your option) any later version. 12 13 This program is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with this program; if not, write to the Free Software 20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 22 */ 23 24 #include <gtk/gtk.h> 25 26 #ifdef __cplusplus 27 extern "C" { 28 #endif 29 30 /* 31 * Public Functions. 32 */ 33 34 /* 35 * This function returns a widget in a component created by Glade. 36 * Call it with the toplevel widget in the component (i.e. a window/dialog), 37 * or alternatively any widget in the component, and the name of the widget 38 * you want returned. 39 */ 40 GtkWidget* lookup_widget (GtkWidget *widget, 41 const gchar *widget_name); 42 43 /* get_widget() is deprecated. Use lookup_widget instead. */ 44 #define get_widget lookup_widget 45 46 47 /* 48 * Private Functions. 49 */ 50 51 /* These are used to create the pixmaps in the interface. */ 52 GtkWidget* create_pixmap (GtkWidget *widget, 53 const gchar *filename); 54 GtkWidget* create_pixmap_d (GtkWidget *widget, 55 gchar **xpm_d); 56 57 #ifdef __cplusplus 58 } 59 #endif 60