Compilation fails at line 40 "Completion_1.Set_Model (List_1)"
with the error
test.adb:40:28: error: expected private type "Gtk_Tree_Model" defined at gtk-tree_model.ads:195
test.adb:40:28: error: found type "Gtk_List_Store" defined at gtk-list_store.ads:139
Presumably, I've missed something in translation.
On 2022-03-07 01:06, Gavin McCord wrote:
Compilation fails at line 40 "Completion_1.Set_Model (List_1)"
with the error
test.adb:40:28: error: expected private type "Gtk_Tree_Model" defined
at gtk-tree_model.ads:195 test.adb:40:28: error: found type
"Gtk_List_Store" defined at gtk-list_store.ads:139
Presumably, I've missed something in translation.
See To_Interface function that does the conversion.
[GTK interfaces are tagged Ada types. Since full MI is unfortunately not supported in Ada, explicit conversion are are needed]
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 39:14:11 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,548 |