in reply to How to set the MainWindow agile to the context in Perl/Tk
G'day Janish,
"Could anyone tell me if Perl/Tk allows flexible window re-size or any other option that could help to resolve this?"
The short answer is: Yes.
A longer, and more useful, answer will depend on the geometry manager you're using. Tk provides these geometry managers:
Read the documentation for whichever one you're using. If it turns out that the geometry manager you're currently using doesn't do what you want, pick another one. Tk::pack is probably the best choice but, as you've shown no code, that's just a guess.
In addition, regardless of the size of the monitor, adding sufficient widgets will eventually exceed the available screen real estate. You may need to add scrollbars to various widgets: these can be made optional so that they only appear when needed. Tk::Pane, a scrollable frame widget, may be a better choice than Tk::Frame. Other scrollable widgets may be a better choice than whatever you're currently using.
If the general information I've provided leads to a solution, that's great. If not, you'll need to provide more specific information to get a more specific answer. This should include a short, self-contained example which reproduces your problem: see How do I post a question effectively? for more details about this.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to set the MainWindow agile to the context in Perl/Tk
by Janish (Sexton) on May 18, 2015 at 01:42 UTC | |
by kcott (Archbishop) on May 18, 2015 at 07:48 UTC | |
by Janish (Sexton) on May 20, 2015 at 08:22 UTC | |
by Anonymous Monk on May 18, 2015 at 08:35 UTC | |
by Janish (Sexton) on May 20, 2015 at 08:26 UTC |