On Wednesday, 17 April 2019 at 15:05:22 UTC, Adam D. Ruppe wrote:
On Wednesday, 17 April 2019 at 14:49:33 UTC, Ron Tarrant wrote:
For instance, one of the Adjustment constructors looks like
this:
public this(GtkAdjustment* gtkAdjustment, bool ownedRef
Those aren't the same thing! One is Adjustment, the D wrapper
class, and the other is GtkAdjustment*, the C structure pointer.
This constructor is for cases when you have an existing object
made via the C api and you want the D wrapper to adopt it.
Ah! Thanks for clearing that up, Adam. I shall go blush now for
not reading more closely.