| 1 | /* |
| 2 | * DO NOT EDIT THIS FILE - it is generated by Glade. |
| 3 | */ |
| 4 | |
| 5 | #ifdef HAVE_CONFIG_H |
| 6 | # include <config.h> |
| 7 | #endif |
| 8 | |
| 9 | #include <gtk/gtk.h> |
| 10 | |
| 11 | /* |
| 12 | * Standard gettext macros. |
| 13 | */ |
| 14 | #ifdef ENABLE_NLS |
| 15 | # include <libintl.h> |
| 16 | # undef _ |
| 17 | # define _(String) dgettext (PACKAGE, String) |
| 18 | # ifdef gettext_noop |
| 19 | # define N_(String) gettext_noop (String) |
| 20 | # else |
| 21 | # define N_(String) (String) |
| 22 | # endif |
| 23 | #else |
| 24 | # define textdomain(String) (String) |
| 25 | # define gettext(String) (String) |
| 26 | # define dgettext(Domain,Message) (Message) |
| 27 | # define dcgettext(Domain,Message,Type) (Message) |
| 28 | # define bindtextdomain(Domain,Directory) (Domain) |
| 29 | # define _(String) (String) |
| 30 | # define N_(String) (String) |
| 31 | #endif |
| 32 | |
| 33 | |
| 34 | /* |
| 35 | * Public Functions. |
| 36 | */ |
| 37 | |
| 38 | /* |
| 39 | * This function returns a widget in a component created by Glade. |
| 40 | * Call it with the toplevel widget in the component (i.e. a window/dialog), |
| 41 | * or alternatively any widget in the component, and the name of the widget |
| 42 | * you want returned. |
| 43 | */ |
| 44 | GtkWidget* lookup_widget (GtkWidget *widget, |
| 45 | const gchar *widget_name); |
| 46 | |
| 47 | |
| 48 | /* Use this function to set the directory containing installed pixmaps. */ |
| 49 | void add_pixmap_directory (const gchar *directory); |
| 50 | |
| 51 | |
| 52 | /* |
| 53 | * Private Functions. |
| 54 | */ |
| 55 | |
| 56 | /* This is used to create the pixmaps used in the interface. */ |
| 57 | GtkWidget* create_pixmap (GtkWidget *widget, |
| 58 | const gchar *filename); |
| 59 | |
| 60 | /* This is used to create the pixbufs used in the interface. */ |
| 61 | GdkPixbuf* create_pixbuf (const gchar *filename); |
| 62 | |
| 63 | /* This is used to set ATK action descriptions. */ |
| 64 | void glade_set_atk_action_description (AtkAction *action, |
| 65 | const gchar *action_name, |
| 66 | const gchar *description); |
| 67 | |