in reply to Re: Building an adaptable 'Entry Widget'
in thread Building an adaptable 'Entry Widget'
THANKS! That was awfully close to my desired goal.
Inside of:
You have:sub Populate { ... }
Why isnt it ' -textvariable => \$tv, ' ?my $entry = $frame -> Entry( -textvariable => $tv, # NOTE ) -> pack(-fill => 'x');
When I call widgets inside of DialogBox I do:
Why the disconnect/inconsistancy ? I totally dont get this difference.GUIask ( -textvariable => \$input, )
#######################################
Inside of
you have:sub Populate { }
Shouldnt the label be inside the frame (and colored blue) ? Because I am not seeing that; this is something I want.my $label = $frame -> Label ( -fg => 'blue', -font => 30 ) -> pack(-fill => 'x' );
If I click on the main window, and move it, my widget gets covered up.
SEE: Writing my first PERL/Tk megawidgit
This mega-widget does not do that. Why? (Also another Q by me). This mega-widget stuff is new to me.
It would be nice to have some comments, to make this code more understandable like the
Entry( -textvariable => $tv, ) -> pack(-fill => 'x');
block above. (why its not \$tv )
2022-02-23 Athanasius added code and paragraph tags.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Building an adaptable 'Entry Widget'
by Anonymous Monk on Feb 21, 2022 at 15:21 UTC | |
by choroba (Cardinal) on Feb 21, 2022 at 15:41 UTC | |
by LanX (Saint) on Feb 21, 2022 at 18:13 UTC | |
|
Re^3: Building an adaptable 'Entry Widget'
by Anonymous Monk on Feb 22, 2022 at 02:37 UTC | |
by LanX (Saint) on Feb 22, 2022 at 12:32 UTC | |
by Anonymous Monk on Feb 22, 2022 at 21:23 UTC |