[][src]Function vgtk::current_object

pub fn current_object() -> Option<Object>

Get the current Object.

When called from inside a Component, it will return the top level Object for this component, if it currently exists.

When called from outside a Component's lifecycle, you should hopefully just receive a None, but, generally, try not to do that.