comparison src/xs_glade.h @ 814:9d0dee765a8e

Add Glade-generated files, as Glade for Gtk+1 is somewhat troublesome to get compiled and working nowadays due to bitrot.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 07 Nov 2012 13:10:34 +0200
parents
children
comparison
equal deleted inserted replaced
813:b8b9da405e8c 814:9d0dee765a8e
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 /* get_widget() is deprecated. Use lookup_widget instead. */
48 #define get_widget lookup_widget
49
50 /* Use this function to set the directory containing installed pixmaps. */
51 void add_pixmap_directory (const gchar *directory);
52
53
54 /*
55 * Private Functions.
56 */
57
58 /* This is used to create the pixmaps in the interface. */
59 GtkWidget* create_pixmap (GtkWidget *widget,
60 const gchar *filename);
61