[Glade-users] need a hand with a textview in python

nephish nephish at xit.net
Sun Aug 14 13:41:41 EDT 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

thanks




More information about the Glade-users mailing list