Re: Automatic scrolling of textview widget?

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

 



Preben Randhol wrote:
> Hi
> 
> I have a textview widget in which I have put text and entry widgets. I
> use a scrolledwindow widget as the textview widget becomes long. I
> fill in the first entry widget and then press TAB to jump to the next.
> The problem is that if the next entry widget is not visible then I
> would like that the scrolledwindow automatically scrolled the textview
> widget so that the entry box I jumped to is visible.
> 
> Can on manage to do something like this?

gtk_container_set_focus_vadjustment() is what you need.

Cheers,
                -Tristan

TIP: I messed up using this func before, so I recommend you check out
how its used in the gtk-demo to be sure to get it right the first time ;-)

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux