В процессе.
This commit is contained in:
@@ -111,8 +111,8 @@ func init_tbl_out():
|
||||
cell.add_item(opt)
|
||||
cell.select(0)
|
||||
$tbl_out.set_columns_min_size([270, 100, 70, 70, 100, 100, 100])
|
||||
$tbl_out.set_callbacks(self, 'text_submitted', 'on_edit_entry_in', TABLE_ENTRY_COLUMNS, [])
|
||||
$tbl_out.set_callbacks(self, 'item_selected', 'on_item_selected', COLUMN_OPTS_BTN, [])
|
||||
$tbl_out.connect_columns(self, 'text_submitted', 'on_edit_entry_in', TABLE_ENTRY_COLUMNS, [])
|
||||
$tbl_out.connect_columns(self, 'item_selected', 'on_item_selected', COLUMN_OPTS_BTN, [])
|
||||
|
||||
|
||||
func init_tbl_in():
|
||||
@@ -151,7 +151,7 @@ func init_tbl_in():
|
||||
btn.connect('mouse_entered', Callable(self, 'on_mouse_entered').bind(btn, i - dot_collums[0], row_index))
|
||||
$tbl_in.set_node_user_data(i, row_index, in_dev)
|
||||
$tbl_in.set_columns_min_size(column_size)
|
||||
$tbl_in.set_callbacks(self, 'text_submitted', 'on_edit_entry_in', TABLE_ENTRY_COLUMNS, [])
|
||||
$tbl_in.connect_columns(self, 'text_submitted', 'on_edit_entry_in', TABLE_ENTRY_COLUMNS, [])
|
||||
|
||||
|
||||
func on_dot_button(btn, i: int, j: int):
|
||||
|
||||
@@ -277,7 +277,7 @@ func get_node2(i_col: int, i_row: int) -> Node:
|
||||
|
||||
|
||||
func set_node_user_data(i_col: int, i_row: int, user_data: Object) -> void:
|
||||
var key: = get_node_key(NODE_KEY_FORMAT, i_col, i_row)
|
||||
var key: = DATA_KEY_FORMAT % [i_row, i_col]
|
||||
nodes[key] = user_data
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user