One problem with gtkD is that because it wraps gtk one ends up with objects that, when inspected in visual studio, look like
- gtk.CellRenderer.CellRenderer 0x000001b41de225c0 {gtkCellRenderer=0x000001b41f0b1690 {parentInstance={gTypeInstance={gClass=0x000001b41e14f530 {gType=1873124484752}}, ...}, ...}} gtk.CellRenderer.CellRenderer
- gobject.ObjectG.ObjectG 0x000001b41de225c0 {gObject=0x000001b41f0b1690 {gTypeInstance={gClass=0x000001b41e14f530 {gType=1873124484752}}, ...}, ...} gobject.ObjectG.ObjectG
object.Object 0x000001b41de225c0 {} object.Object
- gObject 0x000001b41f0b1690 {gTypeInstance={gClass=0x000001b41e14f530 {gType=1873124484752}}, refCount=10, qdata=0x000001b41f26fd91} gobject.c.types.GObject*
ownedRef false bool isGcRoot true bool signals 0x0000000000000000 gobject.DClosure.DClosure[uint]
- gtkCellRenderer 0x000001b41f0b1690 {parentInstance={gTypeInstance={gClass=0x000001b41e14f530 {gType=1873124484752}}, refCount=10, qdata=0x000001b41f26fd91}, ...} gtk.c.types.GtkCellRenderer*
parentInstance {gTypeInstance={gClass=0x000001b41e14f530 {gType=1873124484752}}, refCount=10, qdata=0x000001b41f26fd91 {}} gobject.c.types.GObject priv 0x000001b41f0b1650 {} gtk.c.types.GtkCellRendererPrivate*
- gtkCellRendererText 0x000001b41f0b1690 {parent={parentInstance={gTypeInstance={gClass=0x000001b41e14f530 {gType=1873124484752}}, refCount=10, qdata=0x000001b41f26fd91}, ...}, ...} gtk.c.types.GtkCellRendererText*
parent {parentInstance={gTypeInstance={gClass=0x000001b41e14f530 {gType=1873124484752}}, refCount=10, qdata=0x000001b41f26fd91 {}}, ...} gtk.c.types.GtkCellRenderer priv 0x000001b41f0b15a0 {} gtk.c.types.GtkCellRendererTextPrivate*
which is a bunch of useless information that tells one nothing about the information of the object one is dealing with(except the type).
I wonder if this could be improved upon and relevant information could be shown, such as a labels text, etc?