On Mon, 2013-05-27 at 14:48 +0200, Colomban Wendling wrote:
> The VteTerminal widget implements GtkScrollable, so the answer is
> "GtkScrolledWindow".  GtkViewport is only useful to make unscrollable
> widgets scrollable, and normally any widget that would be expected to
> scroll (text view, tree view, icon view, etc.) should be scrollable, so
> a first guess at GtkScrolledWindow would have been fine.  Also, it's
> harmless to try it ;)

I've actually tried both, but the GtkViewport seemed to look better. For
some reason when I put it inside a GtkScrolledWindow, part of the child
VTE widget seems clipped at the top and I don't know how to solve this.
Worst case, I wonder if there is any harm in using it in a viewport?

> GtkScrolledWindow::shadow-type

I've already tried etched in / out, in / out, and no luck with both the
viewport and scrolled window, and none of them give the desired
appearance.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to