Thread [Tkx] Suche Dialog für Texteingabe (7 answers)
Opened by GUIfreund at 2012-04-18 10:54

GUIfreund
 2012-04-18 10:54
#157576 #157576
User since
2011-08-08
559 Artikel
BenutzerIn
[default_avatar]
Ideal wären für meinen aktuellen Fall Spinboxen oder Comboboxen, aber ein einfaches Entry würde es notfalls auch tun.

In Tk würde ich dafür DialogBox nehmen. Im Reference Manual unter http://www.tcl.tk/man/tcl8.5/TkCmd/dialog.htm habe ich tk_dialog gefunden. Die Optionen sehen sehr ähnlich zu denen von DialogBox aus:
Quote
NAME
tk_dialog - Create modal dialog and wait for response
SYNOPSIS
tk_dialog window title text bitmap default string string ...

Aber aus der Beschreibung von window werde ich nicht klug:
Code: (dl )
1
2
window
Name of top-level window to use for dialog. Any existing window by this name is destroyed.

Wieso top-level window? Und warum wird es zerstört?

Ich hoffe, mir kann jemand Klarheit verschaffen. Dies ist mein erster Versuch mit Tkx.
Gruß
GUIfreund

View full thread [Tkx] Suche Dialog für Texteingabe