Re: Absolut newbie question about TexView



Janos Blazi <jblazi gmx de> writes:
> 
> I have defined a TextView widget and filled it with some text.
> (1) I should expect the layout of the TextView widget to be sunken like to
> layout of the Entry widget (but       consisting of several lines, of course).
> It is quite plain instead (looking dreadful). Can I change that?

You would normally put the text widget inside a GtkScrolledWindow or
GtkFrame.

> (2) I then want to pack the TextView inside of a frame. Do I use
> container_add for that? At the moment I do not know how to do that in PyGtk.

Yes, container_add(). In PyGtk it's probably container.add()

Havoc



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