问题
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?
回答1:
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
.
来源:https://stackoverflow.com/questions/22260126/what-should-i-set-the-application-id-to-in-gtk