-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDemo.tscn
42 lines (37 loc) · 1.08 KB
/
Demo.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
[gd_scene load_steps=3 format=2]
[ext_resource path="res://addons/godot_table/Table.gd" type="Script" id=1]
[ext_resource path="res://Demo.gd" type="Script" id=2]
[node name="Demo" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Table" type="PanelContainer" parent="."]
margin_right = 165.0
margin_bottom = 127.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
column_headers = [ "name", "score" ]
min_row_count = 3
rows = [ [ "Bob", "60" ], [ "Lisa", "80" ], [ "--", "--" ] ]
[node name="Button" type="Button" parent="."]
margin_left = 2.46985
margin_top = 152.9
margin_right = 90.4698
margin_bottom = 172.9
text = "change data"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
margin_left = 221.428
margin_top = 41.3191
margin_right = 261.428
margin_bottom = 55.3191
text = "click null"
[connection signal="CLICK_ROW" from="Table" to="." method="_on_Table_CLICK_ROW"]
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]