Re: To share a dirty hack on a treeview



On Fri, 2005-02-18 at 07:57 -0500, muppet wrote:
Perhaps instead

    # only allow cell selections on leaves.
    return 0 unless 0 < $model->iter_n_children ($iter);

to allow nesting deeper than just one.

I knew there was a better way :)

-- 
Kevin C. Krinke <kckrinke opendoorsoftware com>
Open Door Software Inc.




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