I've only played around with Ruby Tk on OS X only a little, but my feeling is that Tk has no concept of a window manager having a screen- top menu bar rather than window-top menu bars. And I'm pretty sure it had no concept of a OS X style dock. Therefore, I think you will have to live with the following: 1. Hide the dock. 2. Adjust your window geometry to exclude the OS X menu bar area. Not what you want, I admit. Perhaps someone more knowledgeable than me will reply with a better idea. Regards, Morton On Jul 22, 2006, at 2:04 PM, Rick Ashton wrote: > I've been wondering how to make a window fullscreen in Ruby Tk. I came > across this which is what I'm using now: > > require 'tk' > r = Tk.root > r.withdraw > r.overrideredirect = true > r.deiconify > r.geometry = "#{r.winfo_screenwidth}x#{r.winfo_screenheight}+0+0" > Tk.root.state = 'zoomed' > Tk.mainloop > > However, in OS X, this "fullscreen" window still sits behind the dock > and menu bar. Is there some way to tell the window manager to put this > "on top" of everything, even the dock and menu bar? I had a look > through > the Tk wm reference but couldn't find anything very useful. > > Thanks!