cropper

view support.h @ 8:b0824876d379

memory is now freed aswell; added (a crappy) zoom2fit; did some casts to get rid of warnings
author meillo@marmaro.de
date Thu, 20 Mar 2008 19:31:44 +0100
parents ca9155129253
children
line source
1 #include <gtk/gtk.h>
3 /* Public Functions */
5 /*
6 * This function returns a widget in a component created by Glade.
7 * Call it with the toplevel widget in the component (i.e. a window/dialog),
8 * or alternatively any widget in the component, and the name of the widget
9 * you want returned.
10 */
11 GtkWidget* lookup_widget(GtkWidget* widget, const gchar* widget_name);
14 /* Use this function to set the directory containing installed pixmaps. */
15 void add_pixmap_directory(const gchar* directory);
18 /* Private Functions */
21 /* This is used to create the pixmaps used in the interface. */
22 GtkWidget* create_pixmap(GtkWidget* widget, const gchar* filename);
24 /* This is used to create the pixbufs used in the interface. */
25 GdkPixbuf* create_pixbuf(const gchar* filename);
27 /* This is used to set ATK action descriptions. */
28 void glade_set_atk_action_description(AtkAction* action, const gchar* action_name, const gchar* description);