[pygtk] need help with a textview -newbie

nephish nephish at xit.net
Mon Aug 15 05:24:55 WST 2005

Hey there
i am trying to write an app that will display some stuff in a textview 
in python.
i know it has to do with using a textbuffer.  And that it should be 
created automatically when i create the text view.
how do i put a variable into the textbuffer or textview?

like this

def on_button1_clicked(self, widget, *args):
       data = self.entry1.get_text()
       some piece of code to get "data" to the text view.

i am using python 2.3


More information about the pygtk mailing list