From: Morton Goldberg Date: 2006-08-20T04:23:32+09:00 Subject: Re: help with TkRoot Yes, you can make the root window invisible. The following produces a default menu bar but no (visible) root window on my Mac: require 'tk' root = TkRoot.new root.withdraw Tk.mainloop Regards, Morton On Aug 19, 2006, at 4:20 AM, Diego Virasoro wrote: > Hello, > I would like to write a program on the Mac which at the start only > shows the menubar: only after the user has selected an option from the > menu would the first window appear. > > However I can't get that to work in Tk. It seems that a Tk GUI > can't do > without a TkRoot widget and TkRoot is shown as a window. > > Is there any way to make the TkRoot be the menubar itself? Or maybe to > make TkRoot invisible? Or any other solution to achieve the same goal?