Back to index

im-sdk  12.3.91
support.h
Go to the documentation of this file.
00001 /*
00002  * DO NOT EDIT THIS FILE - it is generated by Glade.
00003  */
00004 
00005 #ifdef HAVE_CONFIG_H
00006 #  include <config.h>
00007 #endif
00008 
00009 #include <gtk/gtk.h>
00010 
00011 /*
00012  * Standard gettext macros.
00013  */
00014 #ifdef ENABLE_NLS
00015 #  include <libintl.h>
00016 #  undef _
00017 #  define _(String) dgettext (PACKAGE, String)
00018 #  ifdef gettext_noop
00019 #    define N_(String) gettext_noop (String)
00020 #  else
00021 #    define N_(String) (String)
00022 #  endif
00023 #else
00024 #  define textdomain(String) (String)
00025 #  define gettext(String) (String)
00026 #  define dgettext(Domain,Message) (Message)
00027 #  define dcgettext(Domain,Message,Type) (Message)
00028 #  define bindtextdomain(Domain,Directory) (Domain)
00029 #  define _(String) (String)
00030 #  define N_(String) (String)
00031 #endif
00032 
00033 
00034 /*
00035  * Public Functions.
00036  */
00037 
00038 /*
00039  * This function returns a widget in a component created by Glade.
00040  * Call it with the toplevel widget in the component (i.e. a window/dialog),
00041  * or alternatively any widget in the component, and the name of the widget
00042  * you want returned.
00043  */
00044 GtkWidget*  lookup_widget              (GtkWidget       *widget,
00045                                         const gchar     *widget_name);
00046 
00047 
00048 /* Use this function to set the directory containing installed pixmaps. */
00049 void        add_pixmap_directory       (const gchar     *directory);
00050 
00051 
00052 /*
00053  * Private Functions.
00054  */
00055 
00056 /* This is used to create the pixmaps used in the interface. */
00057 GtkWidget*  create_pixmap              (GtkWidget       *widget,
00058                                         const gchar     *filename);
00059 
00060 /* This is used to create the pixbufs used in the interface. */
00061 GdkPixbuf*  create_pixbuf              (const gchar     *filename);
00062 
00063 /* This is used to set ATK action descriptions. */
00064 void        glade_set_atk_action_description (AtkAction       *action,
00065                                               const gchar     *action_name,
00066                                               const gchar     *description);
00067