GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GtkTreeView autoscrolling problem - C

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
ajhwb



Joined: 30 Jan 2008
Posts: 2

PostPosted: Sat Feb 02, 2008 12:22 pm    Post subject: GtkTreeView autoscrolling problem - C Reply with quote

i have created a treeview and a scrollwindow as it's container.
how to syncronize between treeview and scrollbar in scrollwindow?
for example, when i make search, to find match string in GtkTreeView,
then it point to a string in treeview, the string was selected, but the
selected string in treeview will not visible until
i scroll the scrollbar (vertical), how to make scrollbar in
scrolledwindow automatically scrolled ? could you please give me a simple code?
Back to top
Micah Carrick
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 481
Location: Portland, OR USA

PostPosted: Tue Feb 12, 2008 5:54 pm    Post subject: Reply with quote

Check out the function gtk_tree_view_scroll_to_cell ()
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP