CadDrawingsMenuProvider
from OpenCAD2D.Plugins import CadDrawingsMenuProvider
class CadDrawingsMenuProvider(System.Object) ยท CadDrawingsMenuProvider in the .NET reference
What a plugin adds to the right-click menu of a row of DRAWINGS: items at its end, after a separator, asked each time the menu opens, for the rows that are files and not for folder headers.
Constructors
__init__
def __init__(
self,
function: Callable[[CadDrawingsRequest], System.Collections.Generic.IReadOnlyList[CadPluginMenuItem]],
) -> None
Operators and Python protocols
__call__
def __call__(self, request: CadDrawingsRequest) -> System.Collections.Generic.IReadOnlyList[CadPluginMenuItem]