def on_btn_new_subject_activate(self, widget): self.subjects.append_page(Gtk.TextView(), "Testing")
I am trying to create a new tab on a text area but I whenever the signal is called by the event (I click the button), this happens:
TypeError: Expected Gtk.Widget, but got GObjectMeta
I have also tried variations on this like "Gtk.GtkTextView()" and "GtkTextView()" with no success
What am I supposed to be using to get a text area in that tab?