我应该在GTK中设置应用程序ID? [英] What should I set the Application ID to in GTK?
本文介绍了我应该在GTK中设置应用程序ID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我还找到了一些代码片断,其中约定看起来有点像Java的包名称约定。
我应该如何命名我的应用程序ID?
解决方案
您可以在需求中将其命名为任何内容,但约定是反向域名后跟应用程序名称: com.stackoverflow.QuestionAnswerer
。
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?
解决方案
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
.
这篇关于我应该在GTK中设置应用程序ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文