9 lines
340 B
C
9 lines
340 B
C
#include<gtk/gtk.h>
|
|
|
|
/* Convenience macros for obtaining objects from UI file */
|
|
#define CH_GET_OBJECT(builder, name, type, data) \
|
|
data->name = type(gtk_builder_get_object (builder, #name) )
|
|
#define CH_GET_WIDGET(builder, name, data) \
|
|
CH_GET_OBJECT(builder, name, GTK_WIDGET, data)
|
|
|
|
void utility_tools(GtkButton *but, gpointer udata); |