Re:CTree expansion



 
You can not have a expander for gtkctreenode without any child. You have to insert atleast one (junk/dummy) child(leaf node)  to get expander for expansion of parent(in your case toplevel User) gtkctreenode.

In "tree-expand" callback you remove this junk/dummy child, and insert your users nodes from database.
 
 

-- 
 
---------------------------------------------------------------------
        VIJAYKUMAR S. KALE
ESG, TTIL, Telco Campus,PUNE - 411 018
email:  vskale telco co in
phone:  (off.)  +91-212-7402049 (Direct)
                +91-212-7402947 (Direct)
        (resi.) +91-212-4358085
----------------------------------------------------------------------
~
 

Attachment: vsk.vcf
Description: Card for VijayaKumar S. Kale



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