aboutsummaryrefslogtreecommitdiff
path: root/remove_menubar_from_patch_windows-plugin.tcl
blob: 124d216b679eea0ae1de9ba3448ceb5230773c88 (plain)
1
2
3
4
5
6
7
# this scriptlet removes the menubars from all canvas windows.  You could also
# create your own custom menu and add it to the canvas windows.

# on Mac OS X, no windows have menubars, so no need to remove for 'aqua'
if {$::windowingsystem ne "aqua"} {
    set ::canvas_menubar ""
}