[Gtk-sharp-list] question about Gtk.TextView
Tue, 2 Sep 2003 21:43:32 +0000
someone else had already replied (privately) saying the same. I must say Gtk#
is very nice to work with... but it's a _huge_ adjustment. Oh well, thx for
Btw, is it ok to post questions like these to this mailinglist? or is this
list focused more on the development of gtk#?
On Tuesday 02 September 2003 19:22, John Luke wrote:
> On Tue, 2003-09-02 at 16:45, Davy Brion wrote:
> > how can i make sure that a TextView widget doesn't 'grow' once the text
> > inside contains more lines than the amount of lines that can be visible?
> > I just want a TextView control that resizes whenever it's container
> > resizes (it does that), but i don't want it to resize once it has too
> > many lines of text. I want it to display a scrollbar and then scroll to
> > the bottom once there are too many lines of text.
> > can anyone tell me what i need to do to make sure the TextView doesn't
> > grow once the text exceeds the visible range and to make it show
> > scrollbars instead?
> Add the TextView to a ScrolledWindow, and add the ScrolledWindow as you
> had the Textview in your snippet.
> > if this is the wrong place for asking these kind of questions, sorry but
> > it's pretty hard to get started with Gtk# if you don't have any Gtk
> > experience.
> > If anyone could point me to some (up to date) examples of Gtk#
> > applications, or more documentation, i'd be very grateful :)
> Try http://mono.ximian.com:8080/, it has several examples (but needs
> some more). Also, if you want you could install Monodoc for yourself
> which included this documentation.
> > thx
> > _______________________________________________
> > Gtk-sharp-list maillist - Gtkfirstname.lastname@example.org
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> Gtk-sharp-list maillist - Gtkemail@example.com