hi,

Am Sonntag, den 05.09.2004, 12:32 +0100 schrieb Keir Lawson:
> i have been using the code at
> http://www.async.com.br/faq/pygtk/index.py?req=all#14.12 to make my
> pygtk instant messenger always scroll to the latest message
> automatically. however, despite my textveiw having editable set to off,
> whenever anyone clicks on it, anywhere other than at the end of the
> text, the automatic scrolling stops working, how can i fix this?

Hm, other than scrolling to the end by hand, no idea...
(tv.scroll_to_iter(tb.get_end_iter()))

> completely unrelated and not apropriate for this list but if anyone can
> help me with this it would be much apreciated: i have a chat_window
> class, and would like to spawn a new instance of it everytime a user
> clicks a button, obviously i cant just do:
> def on_click(widget):
>       foobar = chat()
> as i will only be able to do this once, how would i resolve this?

Why ?
Do you refer to glade ?
When "chat" is a class derived from gtk.Window, it very well works like
that.

Please explain some more, me is slow :)

> 
> Keir Lawson

cheers,
   Danny

-- 
www.keyserver.net key id A334AEA6

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to