On Nov 29, 2010, at 4:16 PM, Jonathan Wilkes wrote:
--- On Mon, 11/29/10, Ivica Ico Bukvic <i...@vt.edu> wrote:From: Ivica Ico Bukvic <i...@vt.edu>Subject: Re: [PD] call for testers for L2Ork iteration of pd- extended (based on 0.42.x branch)To: "Jonathan Wilkes" <jancs...@yahoo.com> Cc: pd-list@iem.at Date: Monday, November 29, 2010, 9:11 PMI think 1 and 3 worked fine in osx. Actually I also tried a fourth thing: Destroy the menubar when in 'Run mode'. (Notsure how that wouldwork on osx, but in Gnome it sure makes an obviousdistinctionbetween modes!) -JonathanIn 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! IcoYes, 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 itvisible 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} } pdtk_post "Finished loading menubar_only_in_editmode-plugin.tcl" ------------- .hc
menubar_only_in_editmode-plugin.tcl
Description: Binary data
----------------------------------------------------------------------------"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
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list