2015-12-23 21:28:15 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2016 (c) Anna Schumaker.
|
|
|
|
*/
|
|
|
|
#ifndef OCARINA_GUI_BUILDER_H
|
|
|
|
#define OCARINA_GUI_BUILDER_H
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
|
|
/* Called to initialize the GTK builder. */
|
|
|
|
void gui_builder_init(const char *);
|
|
|
|
|
|
|
|
/* Called to deinitialize the GTK builder. */
|
|
|
|
void gui_builder_deinit();
|
|
|
|
|
2015-12-23 21:45:32 -05:00
|
|
|
/* Called to get an object from the GTK builder. */
|
|
|
|
GObject *gui_builder_object(const char *);
|
|
|
|
|
2015-12-23 21:54:19 -05:00
|
|
|
/* Called to get a widget from the GTK builder. */
|
|
|
|
GtkWidget *gui_builder_widget(const char *);
|
|
|
|
|
2015-12-23 21:28:15 -05:00
|
|
|
#ifdef CONFIG_TESTING
|
|
|
|
GtkBuilder *test_get_gui_builder();
|
|
|
|
#endif /* CONFIG_TESTING */
|
|
|
|
#endif /* OCARINA_GUI_BUILDER_H */
|