Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这两个函数调用有什么区别:
menu_item_new_with_labelex vs gtk_menu_item_new_with_label
gtk_menu_item_new_with_label() 是一个标准的 gtk 构造函数,它创建一个 GtkMenuItem,其中包含一个带有指定文本的 GtkAccelLabel。
gtk_menu_item_new_with_labelex() 不是标准函数;它不存在于任何 gtk 头文件中;事实上,谷歌从未听说过。如果您在代码中看到它,它可能是由团队中的其他人创建的某种包装器。