Re: [gtk-list] Re: Maximum possible text widget size / set_usize()value




On Sun, 1 Aug 1999, Havoc Pennington wrote:
> Lose the vbox, just pack the plain text widget into a scrolled window.
> Then it will work. 
> I just documented GtkScrolledWindow for the RDP, but it's not on
> www.gtk.org/rdp/ yet - when it is, there's an explanation in there.
> (basically you want to scroll the text, not the text widget - the text
> widget is only showing a little bit of the text at a time).

In this special case, I really want to scroll the text widget. I'd like to
display an email message with its attachments. Body and attachments should
get a widget of their own - one widget for display text, another one for
images and so on. That's what the vbox is for, to place the attachments
below the text.

I've already tried to put the text widget in a layout container, since
this appears to be the only one that can have a size > 32767. But if I try
to set the text widget to a size > 32767 via gtk_widget_set_usize(), it
will not display with the desired size, but much smaller - maybe 200
pixels high. Is it possible for the text widget itself to have a size >
32767 or is the layout container the only widget that breaks this barrier?

Christoph.



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