in reply to Binding an action to an item in a Listbox
And here's what you need for the title part:# Insert in open_file after $ListBox is defined. $ListBox->bind('<ButtonRelease-1>', sub { $filename = $ListBox->get('active')});
# Insert in load after $filename is set. $mw->configure(-title => 'TextEd - ' . $filename);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Binding an action to an item in a Listbox
by eoin (Monk) on Apr 18, 2003 at 09:15 UTC |