Graphviz  2.41.20171026.1811
support.h
Go to the documentation of this file.
1 /*
2  * DO NOT EDIT THIS FILE - it is generated by Glade.
3  */
4 
5 #include "config.h"
6 
7 #include <gtk/gtk.h>
8 
9 /*
10  * Standard gettext macros.
11  */
12 #ifdef ENABLE_NLS
13 # include <libintl.h>
14 # undef _
15 # define _(String) dgettext (PACKAGE, String)
16 # define Q_(String) g_strip_context ((String), gettext (String))
17 # ifdef gettext_noop
18 # define N_(String) gettext_noop (String)
19 # else
20 # define N_(String) (String)
21 # endif
22 #else
23 # define textdomain(String) (String)
24 # define gettext(String) (String)
25 # define dgettext(Domain,Message) (Message)
26 # define dcgettext(Domain,Message,Type) (Message)
27 # define bindtextdomain(Domain,Directory) (Domain)
28 # define _(String) (String)
29 # define Q_(String) g_strip_context ((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 
void glade_set_atk_action_description(AtkAction *action, const gchar *action_name, const gchar *description)
Definition: support.c:131
GtkWidget * lookup_widget(GtkWidget *widget, const gchar *widget_name)
Definition: support.c:20
GtkWidget * create_pixmap(GtkWidget *widget, const gchar *filename)
Definition: support.c:77
GdkPixbuf * create_pixbuf(const gchar *filename)
Definition: support.c:101
void add_pixmap_directory(const gchar *directory)
Definition: support.c:49