Re: GtkTextView

On Fri, 2002-06-14 at 21:40, Phil Krylov wrote:
> Hello.
> I have a GtkTextView packed in a GtkTable. I don't know beforehand how
> much text will be in that GtkTextView, but I would like it to display
> a vertical scrollbar if its height reaches 300 pixels (instead of
> growing more). How can I get this behaviour? Maybe I need to connect
> to some signal of GtkTextView or GtkTable?

Can't you just put the GtkTextView into a GtkScrolledWindow and the
scrolled window into the table? I've never used TextView so I don't know
if it can work with scrolled window, but you can give it a try.

struct Sig {
  string name("     J a r e k   D u k a t     ");
  string mail(" madmaxer (at) poczta (dot) fm ");

INTERIA.PL: Portal pelen informacji... >>> 

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