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