Search code examples
gtkconventions

What should I set the Application ID to in GTK?


To initialize a GTK application, I must pass along an application id. I've done a bit of Googling and I found the minimum requirements of an application ID, but no guidelines as to how it should be named.

I've also found some code snippets, where the convention seemed to be a bit like Java's package name convention.

How should I name my application ID?


Solution

  • You can name it anything you want within the requirements, but the convention is a reverse domain name followed by an application name: com.stackoverflow.QuestionAnswerer.