in reply to Re^2: Building an adaptable 'Entry Widget'
in thread Building an adaptable 'Entry Widget'

It was just a bunch of small code snippets and Qs.

ANYHOOOOOO, I solved 1 Q, and that brought up another Q:

When I call GUIask mega-widget, and use ' -label => $header_msg' the $header_msg gets printed outside the Frame(); when I use '-text => $header_msg' then the $header_msg gets printed inside the Frame().

Why the difference here? The second case ('-text => $header_msg') is what I wanted.

OH! BTW: I tried to get an acct here. I didnt get an email. I will check Trash, but dont count on it; I have already thrown much stuff out today...

2022-02-23 Athanasius added code and paragraph tags.

Replies are listed 'Best First'.
Re^4: Building an adaptable 'Entry Widget'
by LanX (Saint) on Feb 22, 2022 at 12:32 UTC

      I discovered a problem:

      If I click the "Abort" button, the dialog-stuff goes away , and I am left with an empty frame.

      I tied this in several contexts and in 'ptk_test.pl' (I developed) . Same thing happens in all cases.

      A piece of pTk subtlety I noticed:

      -label => $header_msg, -- Sticks a label outside the frame -text => $header_msg -- Sticks a STRING OF TEXT inside the frame

      Why the difference?

      2022-02-23 Athanasius added code and paragraph tags.