diff options
author | Santhosh Thottingal <santhosh.thottingal@gmail.com> | 2009-01-08 20:27:28 +0530 |
---|---|---|
committer | Santhosh Thottingal <santhosh.thottingal@gmail.com> | 2009-01-08 20:27:28 +0530 |
commit | f31a09b416d7cdb26219e334e1770ba7db6d2e6a (patch) | |
tree | 16dfcd695c18b322477754fc10d35cad614fe809 /chathans/src/support.h | |
parent | 663e58ae5141adad097558428190ddf01df49ca9 (diff) | |
download | Rachana.git-f31a09b416d7cdb26219e334e1770ba7db6d2e6a.tar.gz Rachana.git-f31a09b416d7cdb26219e334e1770ba7db6d2e6a.tar.xz Rachana.git-f31a09b416d7cdb26219e334e1770ba7db6d2e6a.zip |
Adding chathans by Rajeesh Nambiar- a front end for payyans
Diffstat (limited to 'chathans/src/support.h')
-rw-r--r-- | chathans/src/support.h | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/chathans/src/support.h b/chathans/src/support.h new file mode 100644 index 0000000..f8989d9 --- /dev/null +++ b/chathans/src/support.h @@ -0,0 +1,80 @@ +/*Copyright (c) 2008, Rajeesh K Nambiar * + * * + * Chathans is a free software; you can redistribute it and/or modify it under the terms* + * of GNU General Public License as published by the Free Software Foundation, either * + * version 3 of the License, or (at your option) any later version. * + * * + * Chathans is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;* + * without even implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.* + * See the GNU General Public License for more details. * + */ + +/* + * DO NOT EDIT THIS FILE - it is generated by Glade. + */ + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + +#include <gtk/gtk.h> + +/* + * Standard gettext macros. + */ +#ifdef ENABLE_NLS +# include <libintl.h> +# undef _ +# define _(String) dgettext (PACKAGE, String) +# define Q_(String) g_strip_context ((String), gettext (String)) +# ifdef gettext_noop +# define N_(String) gettext_noop (String) +# else +# define N_(String) (String) +# endif +#else +# define textdomain(String) (String) +# define gettext(String) (String) +# define dgettext(Domain,Message) (Message) +# define dcgettext(Domain,Message,Type) (Message) +# define bindtextdomain(Domain,Directory) (Domain) +# define _(String) (String) +# define Q_(String) g_strip_context ((String), (String)) +# define N_(String) (String) +#endif + + +/* + * Public Functions. + */ + +/* + * This function returns a widget in a component created by Glade. + * Call it with the toplevel widget in the component (i.e. a window/dialog), + * or alternatively any widget in the component, and the name of the widget + * you want returned. + */ +GtkWidget* lookup_widget (GtkWidget *widget, + const gchar *widget_name); + + +/* Use this function to set the directory containing installed pixmaps. */ +void add_pixmap_directory (const gchar *directory); + + +/* + * Private Functions. + */ + +/* This is used to create the pixmaps used in the interface. */ +GtkWidget* create_pixmap (GtkWidget *widget, + const gchar *filename); + +/* This is used to create the pixbufs used in the interface. */ +GdkPixbuf* create_pixbuf (const gchar *filename); + +/* This is used to set ATK action descriptions. */ +void glade_set_atk_action_description (AtkAction *action, + const gchar *action_name, + const gchar *description); + |