REM Demo on how to embed an external library - https://www.gtk.org/
REM
REM PvE, September 2014 - GPL.
REM
REM Add the necessary include files and libraries as command line option to the compiler:
REM
REM gcc -include gtk/gtk.h -g -o gtk gtk.c -lm -lgc 'pkg-config --cflags --libs gtk+-2.0'
REM
DECLARE *dialog TYPE GtkWidget
CALL gtk_init(&argc, &argv)
CALL dialog = gtk_message_dialog_new_with_markup(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE,
"\nM4Basic with GTK!")
CALL gtk_dialog_run (GTK_DIALOG(dialog))
CALL gtk_widget_destroy(dialog)
END