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



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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]