Re: can we add checkbox as a Item in gtktreeview



Hum Tum wrote:

Helo all,

I want to use checkbox as a item in GtkTreeView with the + sign to expand the tree. Can i select multiple rows in treeview using checkbox or any other alternate to handle this. Also i want to store information along these rows. I want to achieve what is in the figure attached.

You can put a GtkCellRendererToggle as your 1st column, and then connect some code to it's "toggled" signal to activate all the other stuff underneath it in the tree.

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
website: http://www.nusconsulting.com.au



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