MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / setMethod

Method setMethod

Source/Lua/JuceClasses/LComponents.cpp:597–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597void LookAndFeelBase::setMethod (const String &methodName, const luabind::object &method)
598{
599 if (luabind::type(method) != LUA_TNIL)
600 {
601 methods.set (methodName, method);
602 }
603 else
604 {
605 methods.remove(methodName);
606 }
607}
608
609void LookAndFeelBase::setImplementation (const luabind::object &implementationAsTable)
610{

Callers

nothing calls this directly

Calls 3

typeFunction · 0.85
setMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected