gtk_menu_item_new_with_labelex 与 gtk_menu_item_new_with_label

发布于 2024-07-27 05:15:56 字数 106 浏览 2 评论 0原文

这两个函数调用有什么区别:

menu_item_new_with_labelex  vs gtk_menu_item_new_with_label

what is the difference between these two function calls:

menu_item_new_with_labelex  vs gtk_menu_item_new_with_label

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

森末i 2024-08-03 05:15:56

gtk_menu_item_new_with_label() 是一个标准的 gtk 构造函数,它创建一个包含具有指定文本的 GtkAccelLabel 的 GtkMenuItem。

gtk_menu_item_new_with_labelex() 不是标准函数; 它不存在于任何 gtk 头文件中; 事实上,谷歌从未听说过它。 如果您在代码中看到它,它可能是由您团队中的其他人创建的某种包装器。

gtk_menu_item_new_with_label() is a standard gtk constructor that creates a GtkMenuItem containing a GtkAccelLabel with the specified text.

gtk_menu_item_new_with_labelex() is not a standard function; it does not exist in any of the gtk header files; in fact, google has never heard of it. If you see it in your code, it's probably some sort of a wrapper created by another person in your team.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文