Fw: GtkText inside GtkScrolledWindow - horizontal scrolling?

From: Date: Fri, 12 Oct 2001 13:56:04 +0000
Subject: Fw: GtkText inside GtkScrolledWindow - horizontal scrolling?
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-229@lists.php.net to get a copy of this message
You can't search the gtk list's history at present, but I have some of it on my hard drive.. Basically the error's with GtkText (deprecated) & not GtkScrolledWindow. Just a case of waiting a few more months, I guess... ----- Original Message ----- From: "Simon Budig" <Simon.Budig@unix-ag.org> To: <gtk-list@gnome.org> Sent: Wednesday, August 29, 2001 1:55 PM Subject: GtkText inside GtkScrolledWindow - horizontal scrolling? Hi all. [GTK+-1.2.10] I am at a dead end here. Can somebody tell me, why in the following code-snippet the horizontal scrollbar doesn't work, but the vertical does? textfield = gtk_text_new (NULL, NULL); gtk_editable_set_editable (GTK_EDITABLE (textfield), TRUE); gtk_widget_show (GTK_WIDGET (textfield)); gtk_text_set_line_wrap (GTK_TEXT (textfield), FALSE); gtk_text_set_word_wrap (GTK_TEXT (textfield), FALSE); scrollwin = gtk_scrolled_window_new (NULL, NULL); gtk_container_add (GTK_CONTAINER (scrollwin), textfield); gtk_widget_show (GTK_WIDGET (scrollwin)); I tried various things, including creating the GtkAdjustments by hand and setting them explicitely, the result is the same... :-/ Thanks for any hints. Bye, Simon -- Simon.Budig@unix-ag.org http://www.home.unix-ag.org/simon/ _______________________________________________ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

« previous php.gtk.general (#229) next »