>>>>> "Mike" == Mike Alonzo <[EMAIL PROTECTED]> writes:
Mike> Hi, I'm new here. :) I'm having a problem with set_text("text") not
Mike> setting the widget's label? set_url(url) is fine(it goes to the
Mike> URL). Can someone point me to the right direction?
Mike> I'm using Debian Sid and python 2.3/2.2 here. Thanks.
.. I'm also using pygtk, libglade, and pygnome all from Debian sid.. Below
is a snippet...
class FeedInfoDisplay:
def __init__(self, widget):
widget_tree = glade.get_widget_tree(widget)
self._widget = widget
self._link_display = widget_tree.get_widget('feed_info_link')
def display_feed(self, feed):
self._widget.show()
link = feed.channel_link
self._link_display.set_text(link)
self._link_display.set_url(link)
self._link_display.show()
set_url is fine(see previous post), but somehow set_text is not setting the
widget's label. Am I missing something here?
Thanks a lot.
--
.''`. Jan Alonzo :: jmalonzo at spaceants dot org
: :' : PGP fp: DB23 8CB2 E050 7737 B3C4 BB2C 5368 864B C70C 894A
`. `' ID: C70C894A
`-
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/