Just curious how or if you can bind multiple events to a single keystroke.
This does not work!
Basically, I need to have two things happen on a single keystroke.
and...
This does not work!
Code:
$this->bind('<Return>', [$test, 'that', Tk::Ev(['post'])] && sub { $this->historyAdd(); });
Basically, I need to have two things happen on a single keystroke.
Code:
$this->bind('<Return>', [$test, 'that', Tk::Ev(['post'])]);
and...
Code:
$this->bind('<Return>', sub { $this->historyAdd(); });