MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / current_target

Method current_target

src/python/lfs/py_rml.cpp:368–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366 }
367
368 nb::object PyRmlEvent::current_target() {
369 Rml::Element* t = event_->GetCurrentElement();
370 if (!t)
371 return nb::none();
372 return nb::cast(PyRmlElement(t));
373 }
374
375 void PyRmlEvent::stop_propagation() { event_->StopPropagation(); }
376

Callers 15

_on_scripts_clickMethod · 0.45
_on_scripts_changeMethod · 0.45
_on_open_urlMethod · 0.45
_on_input_focusMethod · 0.45
_on_format_clickMethod · 0.45
_on_precise_scrollMethod · 0.45
_on_number_input_blurMethod · 0.45
_on_asset_scrollMethod · 0.45

Calls 1

PyRmlElementClass · 0.85

Tested by

no test coverage detected