~ubuntu-branches/ubuntu/natty/gsetroot/natty

« back to all changes in this revision

Viewing changes to src/support.h

  • Committer: Bazaar Package Importer
  • Author(s): William Vera
  • Date: 2005-07-05 21:55:03 UTC
  • Revision ID: james.westby@ubuntu.com-20050705215503-0s535srcoqdz1n9v
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
#  define Q_(String) g_strip_context ((String), gettext (String))
 
19
#  ifdef gettext_noop
 
20
#    define N_(String) gettext_noop (String)
 
21
#  else
 
22
#    define N_(String) (String)
 
23
#  endif
 
24
#else
 
25
#  define textdomain(String) (String)
 
26
#  define gettext(String) (String)
 
27
#  define dgettext(Domain,Message) (Message)
 
28
#  define dcgettext(Domain,Message,Type) (Message)
 
29
#  define bindtextdomain(Domain,Directory) (Domain)
 
30
#  define _(String) (String)
 
31
#  define Q_(String) g_strip_context ((String), (String))
 
32
#  define N_(String) (String)
 
33
#endif
 
34
 
 
35
 
 
36
/*
 
37
 * Public Functions.
 
38
 */
 
39
 
 
40
/*
 
41
 * This function returns a widget in a component created by Glade.
 
42
 * Call it with the toplevel widget in the component (i.e. a window/dialog),
 
43
 * or alternatively any widget in the component, and the name of the widget
 
44
 * you want returned.
 
45
 */
 
46
GtkWidget*  lookup_widget              (GtkWidget       *widget,
 
47
                                        const gchar     *widget_name);
 
48
 
 
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 used in the interface. */
 
59
GtkWidget*  create_pixmap              (GtkWidget       *widget,
 
60
                                        const gchar     *filename);
 
61
 
 
62
/* This is used to create the pixbufs used in the interface. */
 
63
GdkPixbuf*  create_pixbuf              (const gchar     *filename);
 
64
 
 
65
/* This is used to set ATK action descriptions. */
 
66
void        glade_set_atk_action_description (AtkAction       *action,
 
67
                                              const gchar     *action_name,
 
68
                                              const gchar     *description);
 
69