[Gajim-devel] Embedding Gajim
Phil Wilson
gajim at philwilson.org
Tue Sep 30 22:03:54 CEST 2008
Thanks Yann (and sorry for the slow reply).
> To help you, you chould read src/gajim.py. It's the UI that you need to
> copy (and remove every graphical things)
>
> for idlequeue, there is a comment in this file:
> # in a nongui implementation, just call:
> # gajim.idlequeue = IdleQueue() , and
> # gajim.idlequeue.process() each foo miliseconds
I'd already started out along those lines but was finding it hard to
see what was essential (two files called gajim.py caused me some
confusion early on, but I see from the wiki that you plan to fix
this).
> You also need to parse config file (see parser variable in gajim.py)
I've so far avoided this by passing my parameters directly through to
the Connection constructor.
> You plan to create
> a client in curses or something like that?
The plan is to use the gajim library as the pubsub client backend for
a desktop tool (probably wxPython right now).
> Don't hesitate to ask more info
I've been a bit busy for the last few days, but I'll take another look
as soon as I can.
Thanks for the info,
Phil Wilson
More information about the Gajim-devel
mailing list