Builder.setCurrentObject
void setCurrentObject(gobject.object.ObjectWrap currentObject = null)Sets the current object for the builder.
The current object can be thought of as the this object that the builder is working for and will often be used as the default object when an object is optional.
[gtk.widget.Widget.initTemplate] for example will set the current object to the widget the template is inited for. For functions like [gtk.builder.Builder.newFromResource], the current object will be null.
Parameters
currentObject | the new current object |