- More tutorials on opening and closing dialogs/windows can be found at https://developer.gnome.org/gnome-devel-demos/stable/py.html.en
. This also has many other widgets and some demo applications.
- With regards to opening and saving a file. GTK+ provides a widget for selecting files called a File Choose Dialog. There is a demo/tutorial at https://developer.gnome.org/gnome-devel-demos/stable/filechooserdialog.py.html.en
. How you actually save/load the data depends on the file format. GTK/GLib/GDK-Pixbuf provide some ways to load/save data such as a basic XML parser, image load/saving. There are too many file formats to list here and GTK+/GLib/GDK-PixBuf can only have a few built in. More documentation on the Python GObject can be found at http://lazka.github.io/pgi-docs/
. There is almost certainly going to be something there that can load/save your file.
- I have never used matplotlib so can not give exact help here. I would expect it to work like any other widget where you place the widget inside a container such as a GtkGrid. Just remember to use the correct version for the GTK+/Python you are using.
- The point where you decide to use Glade or Python code depends on your design decisions. For example small Alert style dialogs and about dialogs I would do in code as the code to load them using GtkBuilder would be bigger than the code to generate them manually. For windows containing many widgets then I would definitely use Glade.