GtkTreeView and GtkCellRendererText
The only way I can get GtkCellRendererText is by adding GtkCellAreaBox and GtkCellRendererText 'inline' from GtkTreeViewColumn properties.
After exporting and setting up GtkListStore the data is never rendered in my GtkTreeView.
I could only get it working by manually replacing...
<property name="cell-area"> <object class="GtkCellAreaBox"> <property name="focus-cell">
with < child >
then adding...
<attributes> <attribute name="text">0</attribute> </attributes> </child>
I'm not sure if it's me not understanding Gtk4 properly or if it's set up incorrectly in Cambalache?
I can't import my ammended .ui/.xml file so I can continue building the gui. I get the error...
Error importing window (copy).ui Cambalache encounter one unknown tag 'attributes' Your file will be exported as 'window (vopy).cmb.ui' to avoid data loss.