Re: How can I enable the horizontal scroll-bar in a text widget.




On Wed, 14 Nov 2001, Andrew Schretter wrote:

The short answer is you can't.  The Gtk Text widget does not support a
horizontal scrollbar.

The long answer is that you have to manage the scrollbars yourself.  I have
written a 50 line key press processing routine that manually manages both
the vertical and horizontal scrollbar of a text widget (I haven't been able
to make it work where the vertical is managed by the text widget and the
horizontal by my code).  It is ugly and a horrible hack, it flickers, but
it works.

If you are interested, I'll email a small test app with a Gtk Text window with
vertical and horizontal scrollbars to you directly, but take note that it will
probably take a bit of effort to integrate into any code you currently have.

I'm very interested, Please email


Andrew


Regards, Vladimir





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