in reply to Change the Behaviour of a Button in Tk::Dialog
Hello choroba,
I have never used Tk, but I found Tk::Button. Is this something that you are looking for?
You can find an example here: Masterin Perl/Tk (Chapter 2. Geometry Management).
Update: Or maybe (perl/tk changing button commands).
Update2: From the documentation of (Tk::Dialog):
When it's time to use a dialog, invoke the Show method on a dialog object; the method then displays the dialog, waits for a button to be invoked, and returns the text label of the selected button..Most likely this could the work for you.
Hope this helps.
16 May 2017 Athanasius Fixed link to Mastering Perl/Tk
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Change the Behaviour of a Button in Tk::Dialog
by choroba (Cardinal) on May 15, 2017 at 15:08 UTC |