-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all,
I have a GtkTextView and associated GtkTextViewBuffer. It is inside of a GtkScrolledWindow. The GtkScrolledWindow has policy "GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS" The GtkTextView has set_wrap_mode set as GTK_WRAP_WORD, so the horizontal scroll bar never appears (because of word wrap -- this is not the problem :-) My problem. When I resize the window (the outside container), the scroll window resizes, such that the top line in the window sticks to the top of the window. This means that the input (on the bottom line) goes out of focus. My questions: 1) Is there a policy I can set to make the BOTTOM LINE the line that remains in focus, NOT the top line. (if yes, which resource, and policy :-) if no: 2) which resource do I put a "resize" signal on (the scrolled window ? the text view ?) (if other signal, which signal). AND within that resize signal, what would be the best way to scroll the text so that the last line remains always an the bottom of the resized TextView ? I been thru DevHelp, and the GtkText (related) widgets, and the scroll window, and this just isn't so clear to me. Any suggestions, pointers to methods to refer to, would be much appreciated. Thank you, and all the best, - -Greg - -- +---------------------------------------------------------------------+ Please also check the log file at "/dev/null" for additional information. (from /var/log/Xorg.setup.log) | Greg Hosler ghos...@redhat.com | +---------------------------------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkuiIvwACgkQ404fl/0CV/TA/QCgswwxnip7ylrNjOSihQyz7AX4 NL0AoKXnm7VaU7Stw6x21E7g10YidYd1 =Bdte -----END PGP SIGNATURE----- _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list