Gtk4 Gtk.MessageDialog.new pointing to Gtk.Dialog.new
There is an error on the Gtk4 interface causing Gtk.MessageDialog.new
to point straight to Gtk.Dialog.new
>>> Gtk.MessageDialog.new.get_container()
ObjectInfo(Dialog)
And it is causing issues:
>>> Gtk.MessageDialog.new(main.root, Gtk.DialogFlags.MODAL, Gtk.MessageType.ERROR, Gtk.ButtonsType.CLOSE, 'potato')
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: Dialog constructor cannot be used to create instances of a subclass MessageDialog
This might need an override (I'll look into it).
Edited by Felipe A. Hernandez