What should I set the Application ID to in GTK?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-07 10:12:39

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!