[pygtk] About Dialog Issues
Rob Marino
robemarino at interfree.it
Thu Sep 15 00:25:11 WST 2005
Try taking out the
http:// part and see what happens...
Mystilleef wrote:
>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 pygtk at daa.com.au
>http://www.daa.com.au/mailman/listinfo/pygtk
>Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
>
>
>
--
O__
_/`.\
`=( '
More information about the pygtk
mailing list