gtk-doc is a library that helps extract code documentation. When you create a new project with Anjuta it asks if you wish to include gkt-doc. Unfortunately, on Debian stable there seems to be a bug because the autoconf configuration is looking for the wrong version of gtk-doc.
/home/levlaz/git/librefocus/configure: line 13072: syntax error near unexpected token `1.0'
/home/levlaz/git/librefocus/configure: line 13072: `GTK_DOC_CHECK(1.0)'
On Debian stable, the version of GTK doc that comes with the
gtk-doc-tools package is 1.21. In order to resolve this error you need to update
configure.ac to use the newer version of gtk-doc as shown below:
Then you need to regenerate the entire project and everything should work as expected.
Anjuta is an excellent IDE specifically when it comes to writing applications for GNOME.
On Debian stable, there seems to be a bug having to do with a missing dependency. When you create a project for the first time using the new project wizard and then try to execute it; Anjuta will complain that you must have
I already have libtool installed, but it is looking specifically for some tools found in the
libtool-bin package. Installing this package resolves the issue.
sudo apt-get install libtool-bin
The trend these days is to just use Electron. It seems like more and more apps (Slack, WordPress, Ghost, Postman, Visual Studio Code, etc.) are drinking the cross platform cool aid. I read this article which discusses some of the negative aspects of choosing Electron as a GUI framework. Drew makes some great points and the following paragraph inspired me to once again take a stab at actually learning a proper GUI framework.
Source: Electron considered harmful – Drew Devault’s Blog
PyGObject (aka PyGI) is the new way of developing GTK+ 3 GUI applications in python. On Ubuntu, installing the python3-gi package is enough to get started making your application “do something”. I found an excellent tutorial on using PyGI which does a great job explaining both basic and advanced concepts.
This tutorial gives an introduction to writing GTK+ 3 applications in Python.
Source: The Python GTK+ 3 Tutorial — Python GTK+ 3 Tutorial 3.4 documentation
In addition, this tutorial also has a section on how to use Glade, which is a GUI tool for building GUIs. For any substantial project hard coding the UI is going to get old pretty quickly.
The Python GObject Introspection API is massive. It solves a lot of common problems and also lets you work with a lot of existing GNOME applications. Looking forward to making something useful soon.