I CReated a GtkNotebook from which pages(using Gtk.Builder.new_from_file(file_path)) are added dynamically from a python thread but the code failed with
(erticket.py:16928): Gtk-CRITICAL **: gtk_text_attributes_ref: assertion 'values != NULL' failed
(erticket.py:16928): Gtk-CRITICAL **: gtk_text_attributes_ref: assertion 'values != NULL' failed
(erticket.py:16928): Pango-CRITICAL **: pango_layout_new: assertion 'context != NULL' failed Segmentation fault (core dumped)
I want to know if it is possible to instanciate a GtkWidget from a Python thread because something seems not clear I think it can be but I'm not sure. I don't understand why a segmentation fault occurs here. Very very strange....