gtk_selection_data_set expect guchar
In ViewTree.drag_data_get, gtk_selection_data_set is called with a data as str but it required guchar which is in Python3 bytes encoded in utf-8.
In ViewTree.drag_data_get, gtk_selection_data_set is called with a data as str but it required guchar which is in Python3 bytes encoded in utf-8.