GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Fri Nov 27, 2015 3:27 pm

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GtkTreeView autoscrolling problem - C
PostPosted: Sat Feb 02, 2008 12:22 pm 

Joined: Wed Jan 30, 2008 9:45 am
Posts: 2
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?

 Post subject:
PostPosted: Tue Feb 12, 2008 5:54 pm 
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 12:07 am
Posts: 563
Location: Portland, OR USA
Check out the function gtk_tree_view_scroll_to_cell ()

Micah Carrick - Forum Administrator

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group