Skip to main content


I've been playing with the idea of using a Gtk3::TreeView to create a collapsible menu. I've managed to create the GUI OK, but I've struck a roadblock... Search as I may, I can't find out how to fix it up so that when I click on a bottom-level entry, an action is performed.

I'm coming to the conclusion that it seems not to be possible, but in case it is, can anyone point me at an example as to how to do it? It may be that the example I've cannibalised isn't doing in the right way for this, of course...

Thanks.

[Edit]: to answer my own question, in case anyone comes here looking for the same information, I found a useful example here. The notes are in German, but it's easy enough to work out what's going on in order to get a working menu.

submitted by /u/beermad
[link] [comments]