get_selection_info equivalent for treeview?



Hi,

As the subject says, I'm having an annoying time getting
data out of a TreeView (actually a SimpleList) when a
mouse button is clicked on it.

I've tried to connect the handler to 'button_press_event'.
This allows me to differentiate between which mouse buttons
were pressed, whether it's a single/double click, etc, but
I'm stuck at this point. The CList widget for Gtk1 handles
this hurdle w/ get_selection_info. I briefly looked at
connecting the handler to 'cursor-changed' instead, but
then I could find no way to differentiate different aspects
of the event (button pressed, single/double etc.)

thanks in advance,

mike

-- 
___________________________________________________________
 
Pokey's Twin: "WHAT IS ON THE MENU POKEY?"
Pokey the Penguin: "GRITS!"
        - from "POKEY HAS AN IDENTICAL TWIN"



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