M
Mel
Yes, but not to avoid a memory leak.
OTOH, if you intend to re-use the Dialog object, it's not a memory leak.
Mel.
Yes, but not to avoid a memory leak.
OTOH, if you intend to re-use the Dialog object, it's not a memory leak.
Okay, I haven't used SWT yet: manual memory management? Java is GC!
It is perfectly reasonable to be required to manually call some sort of
destroy() method to tell the toolkit what you no longer want the user to
see: firstly, you have the display a reference to your window, in a
manner of speaking, by showing it. Secondly, in a GC environment like a
JVM or the CLI, it could take a moment. Was that what you meant?
NEVER GOING TO HAPPEN. UI's don't work that way. They are inherently
hierarchical. Just get over it.
It cannot be reused if you don't have any references pointing to it.
Sure it is nice to have dialogs that can be hidden and re-displayed,
but only those that can be accessed again.
PyGTK with GLADE is the easier to use, but a bit awkward looking on
Windows and Mac. (Not to mention the number of dependencies that must
be installed, inclusing a GTK runtime.)
GTK and Qt do that as well.
Don't know about Mac, I was under the impression that GTK was fine on
Windows these days.
Have you tried Tkinter version 8.0 or better, which offers a native look and
feel?
Have you tried Tkinter version 8.0 or better, which offers a native look and
feel?
Steven, you have no buisness offering advice on Tkinter since you
yourself have proclaimed that YOU NEVER used the module and never
will. Stick to what you know please.
Tkinter sucks because it looks like an enfeebled Motif 1980s dawn-of-
GUIs scratchy window with grooves and lines everywhere.
Allow me.
Tkinter sucks because it looks like an enfeebled Motif 1980s dawn-of-
GUIs scratchy window with grooves and lines everywhere.
Tkinter sucks because it looks like an enfeebled Motif 1980s dawn-of-
GUIs scratchy window with grooves and lines everywhere.
The widget set is limited compared to GTK or Qt, though it has the
most common GUI controls, and it does not look that bad with the
recent ttk styling (it actually doesn't look like Motif anymore). But
it does not have a good GUI builder (that I know of).
Oh, and you can TDD it, too...
RE: *Ben Finney changes thread subject*
Please everyone, do not change the subject of someone's thread because
it's considered rude. Thank you.
Right...do not change the subject because it's considered rude.
Change it because the topic drifted from the original topic and a
fitting subject line helps people decide whether they want to
read any subsequent sub-threads. That's just email etiquette as
old as the tubes.
RE: *Ben Finney changes thread subject*
Please everyone, do not change the subject of someone's thread because
it's considered rude. Thank you.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.