Treeview - scrolling through rows via method calls



Since I am using gtk with a touchscreen application, I have no keyboard.  However, I am using a treeview widget and intend to have supporting button widgets to allow the user to scroll through the rows within the treeview widget.  My challenge is that I need to indicate to the treeview widget how many rows to scroll up or down.  Any suggestions on how to do this?  I know I can position the cursor based on a path.  However, that may be tricky in that the user may or may not have the sections within the tree expanded or not.  Also, I would have to track how many rows are currently displayed within the current treeview.

 

I other words, I need to emulate the user scrolling through the treeview by line, by page, or to the beginning or end.  I think the begin or end would not be too bad.

 

Thanks,

Bill

 



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