GObject 类

public class Foo : Object {
    public string prop { construct; get; }
}

它适用于使用 GObject Introspection 的内部 API。这是声明类的推荐方法。