Place geometry manager
require 'tk' top = TkRoot.new {title "Label and Entry Widget"} lb1=TkLabel.new(top){ text 'Hello World' background "yellow" foreground "blue" place('relx'=>0.0,'rely'=>0.0) } e1 = TkEntry.new(top){ background "red" foreground "blue" place('relx'=>0.4,'rely'=>0.0) } Tk.mainloop