Re: EuGTK:How to Build a TreeView

new topic     » goto parent     » topic index » view thread      » older message » newer message
euphoric said...
irv said...

Yes, works fine when the curlies all match up blink

Please post a working version! smile

Hint: since the failure was at the point where Tools and Home Improvements was supposed to expand, but didn't, I started checking there. Shortly after was the extra curly bracket.

https://openeuphoria.org/pastey/314.wc

You can add the connection to respond to a double-click on a category/subcategory as shown in previous pasteys. Also, check the GtkTreeView and GtkTreeSelection docs for the available signals, so you can optionally expand categories as the mouse passes over them, or only expand when clicked. Single and double-clicks can do different things, depending on what you want.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu