The app module

This modules contains a class to access application settings.

App Objects

class app.App

This class is initialized automatically and by the geany module and shouldn’t be initalized by users. An instance of it is available through the attribute of the geany module.

All members of the App are read-only properties.


User configuration directory, usually ~/.config/geany. To store configuration files for your plugin, it’s a good idea to use something like this:

conf_path = os.path.join(, "plugins", "yourplugin",

If True, debug messages should be printed. For example, if you want to make a print() function that only prints when App.debug_mode is active, you could do something like this:

def debug_print(message):

If not None, the a project.Project for currently active project.