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

Method button_styled

src/python/lfs/py_ui.cpp:1382–1389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1380 return r;
1381 }
1382 bool PySubLayout::button_styled(const std::string& l, const std::string& style,
1383 std::tuple<float, float> size) {
1384 advance_child();
1385 apply_state();
1386 auto r = parent_->button_styled(l, style, size);
1387 pop_per_item_state();
1388 return r;
1389 }
1390 std::tuple<bool, nb::object> PySubLayout::prop(nb::object data, const std::string& prop_id,
1391 std::optional<std::string> text) {
1392 advance_child();

Callers 5

_draw_controlsMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45

Calls 4

ColoredButtonFunction · 0.85
c_strMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected