[GRASS5] Tcl/Tk Disable Tear-off?

Glynn Clements glynn.clements at virgin.net
Tue Oct 8 17:30:11 EDT 2002


Jeshua Lacock wrote:

> 
> On Tuesday, October 8, 2002, at 07:13 AM, Glynn Clements wrote:
> 
> > +                    menu $menupath -tearoff 0
> 
> Thanks Glynn,
> 
> That did the trick - No more buggy tear-off menus!
> 
> I am very much a TK novice, and I was wondering if it possible to make 
> the modules appear on the screen say about 20 pixels lower than they do 
> as default? The module's menu bar appears above the Mac OS X menu bar 
> (making it so that you may not move the module - less than ideal I 
> realize)...

Search for "wm geometry" and "+10+100" in gui.tcl.

Although, this might be specific to X (the window manager concept and
the +X+Y format are both X-isms).

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list