extends Panel @onready var label: Label = $Label signal pressed(event_id:String) var data:Dictionary func set_data(d:Dictionary): data=d label.text=data.name func _on_tool_button_pressed() -> void: pressed.emit(data["event"]) pass # Replace with function body.