in reply to Tk Explanation

How do you precicely position an object, for example, a text field in a window?

--

Tk is different than the W32 world...In W32, you draw your dialog box with a dialog editor. Unker Tk, almost everyone creates them it with code. I definitely recommend that you adapt your GUI to one of the different geometry managers, unless you REALLY need to do something unique. 90+% of the time, I use pack() and grid().

Remember, under Tk, everything can stretch. Break everthing up into related Frames...so they size appropriately.

Once you get used to it, you won't want a dialog editor. It took me a while to "get it", but now wouldn't use a dialog editor...

Replies are listed 'Best First'.
Re: Re: Tk Explanation
by Flame (Deacon) on Jun 03, 2002 at 23:32 UTC
    I program Win32::GUI without a dialog editor, but I usually make it a habit to start with something designed to 'generate' the output to show me what the technology is capable of. Thanks for the advice though.



    "Weird things happen, get used to it."

    Flame ~ Lead Programmer: GMS