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.
Vala 中的g_param_spec_boxed()等价物是什么?
这些功能不受约束。绑定它们没什么大不了的,因此您可以通过报告错误来请求它们。无论如何,除非您在运行时做某事,否则您应该使用 Vala 属性,例如:
public class Foo { public YourStruct your_struct { get; set; } }
这将为盒装类型 YourStruct 创建一个名为 your_struct 的属性。