Hi,

I'm trying to use the add_credit_section method
of GtkAboutDialog, but I'm having some issues.
If you try this minimal example:

from gi.repository import Gtk

dialog = Gtk.AboutDialog()
dialog.set_authors(['Some Guy <[email protected]>'])
dialog.add_credit_section('Designed By', ['Some Guy <[email protected]>'])
dialog.connect('response', lambda dialog, response_id: Gtk.main_quit())
dialog.show()

Gtk.main()

you'll see that it complains about the second
parameter being a list and not a string, which
does not make much sense considering what the
method is supposed to do. And either way,
replacing the list with a string results in a
segmentation fault.
_______________________________________________
python-hackers-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/python-hackers-list

Reply via email to