4
* Copyright (C) 1997 Rasca Gmelch, Berlin
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23
#include "../config.h"
28
* Standard gettext macros.
33
# define _(String) dgettext (PACKAGE, String)
35
# define N_(String) gettext_noop (String)
37
# define N_(String) (String)
40
# define textdomain(String) (String)
41
# define gettext(String) (String)
42
# define dgettext(Domain,Message) (Message)
43
# define dcgettext(Domain,Message,Type) (Message)
44
# define bindtextdomain(Domain,Directory) (Domain)
45
# define _(String) (String)
46
# define N_(String) (String)
55
* This function returns a widget in a component created by Glade.
56
* Call it with the toplevel widget in the component (i.e. a window/dialog),
57
* or alternatively any widget in the component, and the name of the widget
60
GtkWidget* lookup_widget (GtkWidget *widget,
61
const gchar *widget_name);
64
/* Use this function to set the directory containing installed pixmaps. */
65
void add_pixmap_directory (const gchar *directory);
72
/* This is used to create the pixmaps used in the interface. */
73
GtkWidget* create_pixmap (GtkWidget *widget,
74
const gchar *filename);
76
/* This is used to create the pixbufs used in the interface. */
77
GdkPixbuf* create_pixbuf (const gchar *filename);
79
/* This is used to set ATK action descriptions. */
80
void glade_set_atk_action_description (AtkAction *action,
81
const gchar *action_name,
82
const gchar *description);