AdwWindowTitle can't be used in XML?
<object class="AdwHeaderBar"> <property name="title-widget"> <object class="AdwWindowTitle"> <property name="title" translatable="yes">Title</property> </object> </property> </object>
Let's take this example from vala-docs. Having this in my .ui
file, throws the following error:
Gtk-CRITICAL **: 15:48:46.095: Error building template class 'MainWindow' for an instance of type 'MainWindow': .:0:0 Invalid object type 'AdwWindowTitle'
System info:
- Fedora 37
- Python 3.11.1
- LibAdwaita 1.2.0
- GTK 4.8.3