sugar-toolkit-gtk3/services/console/interface/irc_client/irc_client.py

11 lines
206 B
Python
Raw Normal View History

2007-08-21 18:18:38 +02:00
import purk
class Interface(object):
def __init__(self):
client = purk.Client()
client.show()
client.join_server('irc.freenode.net')
self.widget = client.get_widget()