GdlrModuleGraph.DebugPlugin¶
Inherits: Control < CanvasItem < Node < Object
Base class for debug views of a module graph.
Description¶
Godular does not ship a debugger. A debug plugin is a Control that an external tool can show. Modules register plugins with GdlrModule.register_debug_plugin(), and the tool reads them with GdlrModuleGraph.get_debug_plugins().
Properties¶
Methods¶
Property Descriptions¶
Name shown by the tool. GdlrModuleGraph.register_debug_plugin() sets it.
Method Descriptions¶
void _init(name: String = “Debug Plugin”) 🔗
Creates a debug view named name.
void _refresh() 🔗
Override it to redraw the view.
void refresh() 🔗
Redraws the view by calling _refresh().