meillo@0: #include meillo@0: meillo@1: /* Public Functions */ meillo@0: meillo@0: /* meillo@0: * This function returns a widget in a component created by Glade. meillo@0: * Call it with the toplevel widget in the component (i.e. a window/dialog), meillo@0: * or alternatively any widget in the component, and the name of the widget meillo@0: * you want returned. meillo@0: */ meillo@1: GtkWidget* lookup_widget(GtkWidget* widget, const gchar* widget_name); meillo@0: meillo@0: meillo@0: /* Use this function to set the directory containing installed pixmaps. */ meillo@1: void add_pixmap_directory(const gchar* directory); meillo@0: meillo@0: meillo@1: /* Private Functions */ meillo@1: meillo@0: meillo@0: /* This is used to create the pixmaps used in the interface. */ meillo@1: GtkWidget* create_pixmap(GtkWidget* widget, const gchar* filename); meillo@0: meillo@0: /* This is used to create the pixbufs used in the interface. */ meillo@1: GdkPixbuf* create_pixbuf(const gchar* filename); meillo@0: meillo@0: /* This is used to set ATK action descriptions. */ meillo@1: void glade_set_atk_action_description(AtkAction* action, const gchar* action_name, const gchar* description);