Anonymous user
Window creation/X11: Difference between revisions
→Tcl: Added implementation
No edit summary |
(→Tcl: Added implementation) |
||
Line 98:
xCloseDisplay d;
;;</lang>
=={{header|Tcl}}==
{{libheader|Tk}}
With a bit of added space between the elements to make them more obvious...
<lang Tcl>
package require Tk
label .l -text "Hello World" -padx 5 -pady 5 -relief solid
pack .l -padx 5 -pady 5
</lang>
|