Re: can we add checkbox as a Item in gtktreeview

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

 



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@xxxxxxxxxxxxxxxxxxxx
website: http://www.nusconsulting.com.au
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux