Gets the extra menu model of the text widget.
See [method@Gtk.Text.set_extra_menu].
a text widget
the menu model