From: Duncan C. <du...@co...> - 2003-03-06 22:48:03
|
Oh gratious gtk2hs maintainrs, I'd really like a binding for treeViewGetPathAtPos. Pretty please. :-) This is for hIDE; I'm trying to do popup menus on a TreeView. The menu displayed depends on the item the user clicks. I presume that the standard way to do this with gtk is to catch the ButtonPress signal then get the x & y coords from the Event and then use treeViewGetPathAtPos to give us enough information for a context sensitive popup menu. Is it this simple, or am I missing something? Duncan |