Diamond

Results 394 comments of Diamond

For now, methods will simply not be carried over.

Why is GIR like this?

Minimal reproduction of the above issue: https://play.golang.org/p/dGyj03YQHhw

This might be caused by `AnyType`'s recursive mess. A solution might be to flatten the tree: right now, `CallableAttrs` may have `Array | Type`, and `Array` may contain another `Type`...

Issue #23 blocks this issue.

Having struct setters now depends on this issue as well for proper freeing of old fields.

Generate these: // OverrideWidget creates a new Widget from the given overrider. func OverrideWidget(overrider WidgetOverrider) Widget { obj := externglib.Register(externglib.Type(C.gtk_widget_get_type()), overrider) return wrapWidget(obj) } To implement a new widget, the...

Created the [`subclassing`](https://github.com/diamondburned/gotk4/tree/subclassing) branch to keep track of this.

> As for properties, it can > probably be done like this: This API doesn't work. The properties have to be set during construction of the object as well. Perhaps...

See `./gtype.c:4115` `g_type_check_instance_cast` and ``G_TYPE_CIC`.