-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFileDialogTest.tscn
63 lines (56 loc) · 1.78 KB
/
FileDialogTest.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Control.gd" type="Script" id=1]
[ext_resource path="res://FileDialog.gd" type="Script" id=2]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 1.0
margin_right = 1.0
script = ExtResource( 1 )
[node name="Button" type="Button" parent="."]
margin_left = 246.0
margin_top = 110.0
margin_right = 316.0
margin_bottom = 130.0
text = "OpenFile"
[node name="FileDialog" type="FileDialog" parent="."]
visible = true
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -137.0
margin_top = -65.0
margin_right = 243.0
margin_bottom = 168.0
window_title = "Open a File"
resizable = true
access = 1
current_dir = "user://C:/Users/laserman/Documents/Godot/RobotArmTest"
current_path = "user://C:/Users/laserman/Documents/Godot/RobotArmTest/"
script = ExtResource( 2 )
[node name="Button2" type="Button" parent="."]
margin_left = 361.0
margin_top = 107.0
margin_right = 425.0
margin_bottom = 127.0
text = "SaveFile"
[node name="FileDialog2" type="FileDialog" parent="."]
visible = true
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -137.0
margin_top = -65.0
margin_right = 253.0
margin_bottom = 167.0
resizable = true
access = 1
current_dir = "user://C:/Users/laserman/Documents/Godot/RobotArmTest"
current_path = "user://C:/Users/laserman/Documents/Godot/RobotArmTest/"
script = ExtResource( 2 )
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
[connection signal="file_selected" from="FileDialog" to="." method="_on_FileDialog_file_selected"]
[connection signal="pressed" from="Button2" to="." method="_on_Button2_pressed"]
[connection signal="file_selected" from="FileDialog2" to="." method="_on_FileDialog2_file_selected"]