redss has asked for the wisdom of the Perl Monks concerning the following question:
Given the simplest perl tk program, that simply calls MainWindow->new followed by MainLoop...
I can move the window by clicking the title bar and dragging it, but if I select "undecorate" for the window, then I don't have a title bar that I can use to drag it.
Is there a tk widget I can add inside the window that will enable me to drag the window using the widget, or clicking anywhere inside the window, so that I don't need the title bar for that?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: want way to drag tk window
by tybalt89 (Monsignor) on Aug 05, 2017 at 19:48 UTC | |
by golux (Chaplain) on Aug 05, 2017 at 23:08 UTC | |
by redss (Monk) on Aug 06, 2017 at 00:07 UTC | |
by tybalt89 (Monsignor) on Aug 06, 2017 at 01:31 UTC | |
by golux (Chaplain) on Aug 06, 2017 at 00:35 UTC | |
by tybalt89 (Monsignor) on Aug 06, 2017 at 00:30 UTC | |
|
Re: want way to drag tk window
by zentara (Cardinal) on Aug 06, 2017 at 11:56 UTC | |
by redss (Monk) on Aug 06, 2017 at 14:20 UTC | |
by zentara (Cardinal) on Aug 06, 2017 at 15:41 UTC | |
|
Re: want way to drag tk window
by Anonymous Monk on Aug 05, 2017 at 19:36 UTC |