view support.h @ 14:da18f2d4f92f

removed all buttons and stuff from the window; cleaned up
author meillo@marmaro.de
date Thu, 04 Mar 2010 18:31:28 +0100
parents 80535e4deaa4
children
line wrap: on
line source

#include <gtk/gtk.h>

/* 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);