in reply to Re: Tix HList Help
in thread Tix HList Help

Why is it hysterical? I don't know how it works in perl but in python I would type (assuming row is a MySQLdb cursor)
entry = 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, entry is what I would refer to as the 'id'. In response to a right click I can have
sel = list.nearest(event.y_root) list.selection_set(sel) # query db for info using the key sel
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?

Replies are listed 'Best First'.
Re^3: Tix HList Help
by Anonymous Monk on Aug 08, 2009 at 16:09 UTC
    Why is it hysterical?

    Because the ironing is delicious.

    Here, entry is what I would refer to as the 'id'.

    Why? Everyone else calls it the path.