| Newsgroups |
gmane.comp.lang.perl.tk |
| Message-ID |
<[email protected]> |
How can I get the total number of list entries in an Hlist?
Lets say I have 5 list entries each having 3 columns and I've used the -
text option ($hlist->itemCreate( XX, XX, -text => "whatever");) for
each of the columns and then I call $hlist->info('selection'); to get
the list of selected entries. How can I get the -text value for either
column 0 or all columns for each selected entry that was returned?
Right now I'm using seperate data arrays to achieve the above two tasks.
Finally my least important question, is it possible to use another
foreground color for the -text in the columns one of the list entries
making it different from the rest? This is basically to make it stick
out more, a way of showing priority, if you will. I'm wondering if at
this point I should have used listbox -tabs
Thanks.
-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server. If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to [email protected]