4 ## Event block field part for the Dictionary field.
9 func set_key(value:String) -> void:
10 %Key.text = str(value)
13 func get_key() -> String:
17 func set_value(value:Variant) -> void:
18 %FlexValue.set_value(value)
21 func get_value() -> Variant:
22 return %FlexValue.current_value
25 func _ready() -> void:
26 %Delete.icon = get_theme_icon("Remove", "EditorIcons")
29 func focus_key() -> void:
33 func _on_key_text_changed(new_text: String) -> void:
37 func _on_flex_value_value_changed() -> void:
41 func _on_delete_pressed() -> void: