in reply to Re: Tix HList Help
in thread Tix HList Help
Here, entry is what I would refer to as the 'id'. In response to a right click I can haveentry = row['pkey'] list.add(entry,itemtype=TEXT,text=row['name'] list.item_create(entry,1,text=row['gender'] list.item_create(entry,2,text=row['age']
Here, sel is the 'entry' (db primary key) of the nearest 'row' in the list to the right click. This is a good example of what I want to do. I would like to pass to another process the information in the HList corresponding to the entry defined by sel. But to do so I have to query the database. Can I not just retrieve the path?sel = list.nearest(event.y_root) list.selection_set(sel) # query db for info using the key sel
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Tix HList Help
by Anonymous Monk on Aug 08, 2009 at 16:09 UTC |