cropper
annotate support.h @ 1:80535e4deaa4
nicer code formating
author | meillo@marmaro.de |
---|---|
date | Tue, 04 Dec 2007 20:23:25 +0100 |
parents | ca9155129253 |
children |
rev | line source |
---|---|
meillo@0 | 1 #include <gtk/gtk.h> |
meillo@0 | 2 |
meillo@1 | 3 /* Public Functions */ |
meillo@0 | 4 |
meillo@0 | 5 /* |
meillo@0 | 6 * This function returns a widget in a component created by Glade. |
meillo@0 | 7 * Call it with the toplevel widget in the component (i.e. a window/dialog), |
meillo@0 | 8 * or alternatively any widget in the component, and the name of the widget |
meillo@0 | 9 * you want returned. |
meillo@0 | 10 */ |
meillo@1 | 11 GtkWidget* lookup_widget(GtkWidget* widget, const gchar* widget_name); |
meillo@0 | 12 |
meillo@0 | 13 |
meillo@0 | 14 /* Use this function to set the directory containing installed pixmaps. */ |
meillo@1 | 15 void add_pixmap_directory(const gchar* directory); |
meillo@0 | 16 |
meillo@0 | 17 |
meillo@1 | 18 /* Private Functions */ |
meillo@1 | 19 |
meillo@0 | 20 |
meillo@0 | 21 /* This is used to create the pixmaps used in the interface. */ |
meillo@1 | 22 GtkWidget* create_pixmap(GtkWidget* widget, const gchar* filename); |
meillo@0 | 23 |
meillo@0 | 24 /* This is used to create the pixbufs used in the interface. */ |
meillo@1 | 25 GdkPixbuf* create_pixbuf(const gchar* filename); |
meillo@0 | 26 |
meillo@0 | 27 /* This is used to set ATK action descriptions. */ |
meillo@1 | 28 void glade_set_atk_action_description(AtkAction* action, const gchar* action_name, const gchar* description); |