Integrating a plot to a GTK user interface