Treeview - simulating / faking keyboard events to change selection / view



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 would like to simulate the functionality of the up and down, page up and down, and home and end keyboard keys to the treeview widget.  So instead of writing all the scrolling functions myself, I would just like to use the existing ones within the treeview widget that are activated by keyboard events.  So I would like to “trigger” the treeview widget into sensing that one of the keyboard buttons have been pressed that would scroll the treeview by line, page, or beginning or end of list.

 

Thanks,

Bill

 



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