On Nov 29, 2010, at 4:16 PM, Jonathan Wilkes wrote:
--- On Mon, 11/29/10, Ivica Ico Bukvic ico@vt.edu wrote:
From: Ivica Ico Bukvic ico@vt.edu Subject: Re: [PD] call for testers for L2Ork iteration of pd- extended (based on 0.42.x branch) To: "Jonathan Wilkes" jancsika@yahoo.com Cc: pd-list@iem.at Date: Monday, November 29, 2010, 9:11 PM
I think 1 and 3 worked fine in osx.
Actually I also tried a fourth thing: Destroy the menubar when in 'Run mode'. (Not
sure how that would
work on osx, but in Gnome it sure makes an obvious
distinction
between modes!)
-Jonathan
In L2Ork iteration this functionality is available per-canvas and is toggled via l2ork_toggle_menubar abstraction. This way one can have a mix of guis having one and/or the other.
Cheers!
Ico
Yes, I've been using a msg + [toxy] to do the same thing--
unfortunately you can see the menu getting deleted when you open the patch or make
it visible again.
I think you'll enjoy my two 0.43 plugins then, check out the
screenshot for "remove_menubar_from_canvases and canvas_menu_in_popup
plugins on Ubuntu"
http://puredata.info/dev/PdGuiRewriteScreenshots/
On Mac OS X, you shouldn't remove the menubar, because it then reverts
to the Wish.app menubar, which will only be confusing. But here's a
GUI plugin to remove the menubar for edit mode without it flashing (I
hope):
# this GUI plugin removes the menubars from any patch window that is # not in Edit Mode. Also, if a patch is switched to Run Mode, the # menubar will be removed.
proc setmenu_for_editmode {mytoplevel} { if {$::editmode($mytoplevel)} { $mytoplevel configure -menu $::patch_menubar } else { $mytoplevel configure -menu "" } }
# on Mac OS X, no windows have menubars, so no need to remove for 'aqua' if {$::windowingsystem ne "aqua"} { bind PatchWindow <FocusIn> {+setmenu_for_editmode %W} bind PatchWindow <<EditMode>> {+setmenu_for_editmode %W} }
.hc
"We have nothing to fear from love and commitment." - New York Senator
Diane Savino, trying to convince the NY Senate to pass a gay marriage
bill