Hello, I created an about dialog with a link that points to Google.
===================================================== import gtk from gnome import url_show gtk.about_dialog_set_url_hook(url_show, "http://www.google.com") def create_about_dialog(): dialog = gtk.AboutDialog() dialog.set_website_label("http://www.google.com") dialog.show_all() return dialog ===================================================== When I click on the link on the dialog, I get the following error: TypeError: url_show() takes exactly 1 argument (3 given) As you can see, I have passed exactly one argument to url_show. What am I doing wrong? _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
