[PD] contextual pdpedia menu link

Luke Iannini (pd) lukexipd at gmail.com
Sat Apr 26 11:16:12 CEST 2008


On Fri, Apr 25, 2008 at 12:30 PM, Hans-Christoph Steiner <hans at eds.org> wrote:
>
>  That sounds very useful, I have always missed that, but I don't see
>  the patch attached.  I think the patch tracker would be a good place
>  for it.  I just got Cmd-M working to minimize, but it is a hack. I
>  think that Cmd-M and Cmd-` (to switch between windows) should work
>  with a Tk app, but somehow Pd has disabled that.  I can't find where
>  tho.
>
Great that you got minimize working!  I've tried to find the Cmd-`
blocker before as well, but I couldn't find any references to it on Tk
mailing lists etc. so I wasn't sure if it just wasn't supported by Tk.
 It could be emulated with Tk commands, anyways, yea?

>  Now that I think about the pdpedia help menu item more, my
>  implementation is just a first attempt.  I am not sure whether it is
>  the best way to handle it.  Does it do the same thing that you were
>  thinking?
>
The only advantage my method would have conferred was that the menu
item would say "Pdpedia for switch~" or what-have-you (to make it
clearer that that is where it would take you), not that big a deal.
What else were you thinking about?

>  Also, any interest in taking on the pdpedia context menu item?  I
>  think that will require edits to both u_main.tk and g_editor.c, but
>  it should be relatively straightforward.
>
Sure, I don't mind taking it on.  But maybe someone else could chime
in; I don't know if I'd be visiting the Pdpedia entry of patches often
enough to be worth having in the context menu all the time, it will
sort of clutter things and reduce the "muscle-memorability" of the
menu so that has to be taken into account.  Anyone else have an
opinion on that?

Yea, thinking about it more, I don't know if a link taking you out of
Pd and into a web-browser is the best thing for a context menu where
it could be accidentally clicked (that would drive me nuts after a
couple times I think).

O, and I put the patch for proxy icons in the tracker.

Cheers
Luke

>  .hc
>
>
>
>  On Apr 25, 2008, at 2:57 AM, Luke Iannini (pd) wrote:
>
>  > I mentioned them a week or two ago in another thread; documents in OS
>  > X usually have a little icon in the titlebar that represents the file
>  > being edited; you can drag it to get a reference to the file (for
>  > copying or opening in another application; for Pd files that's awesome
>  > for dragging to your text editor for editing), or you can right click
>  > it to get a context menu with the parent folders up to the root (great
>  > as a "reveal in finder" function).
>  >
>  > I attached a patch that should theoretically add support for them as
>  > well as properly showing the "modified" state consistently with the
>  > rest of OS X apps (which dims the proxy icon and adds a dot in the
>  > close button).  But I haven't been able to get it to work with Pd
>  > Vanilla.
>  >
>  > I added this to pdtk_canvas_new in my Pd-extended pdtk with static
>  > arguments and the feature does work, so maybe you can try the patch
>  > (my build environment still isn't working):
>  > wm attributes $name -modified 0 -titlepath
>  > {/Users/LukeIannini/PureData/sft/sft.structhausen.pd}
>  > (replace the path with an actual file on your machine of course)
>  >
>  > Cheers
>  > Luke
>  >
>  > On Thu, Apr 24, 2008 at 8:57 PM, Hans-Christoph Steiner
>  > <hans at eds.org> wrote:
>  >>
>  >>  Oops, sorry, I didn't realize that you were working on it.  You
>  >> still
>  >>  get credit for the idea :).  I think the pdpedia context menu
>  >> link is
>  >>  still worth doing.
>  >>
>  >>  What are proxy icons?
>  >>
>  >>  .hc
>  >>
>  >>
>  >>
>  >>  On Apr 24, 2008, at 8:24 PM, Luke Iannini (pd) wrote:
>  >>
>  >>> Arr, I finished this two days ago and got caught up with troubles
>  >>> recompiling Pd.  Ah well, glad it is done : ).  Thanks for doing it.
>  >>> On the upside, I discovered how to get OS X proxy icons working
>  >>> in the
>  >>> process, so I'll still have something to contribute
>  >>> Cheers
>  >>> Luke
>  >>>
>  >>> On Thu, Apr 24, 2008 at 5:03 PM, Hans-Christoph Steiner
>  >>> <hans at eds.org> wrote:
>  >>>>
>  >>>>  Hey all,
>  >>>>
>  >>>>  I just checked in code to make the Pdpedia link in the Help
>  >>>> menu try
>  >>>>  to find the object name if you are looking at a help patch.  If
>  >>>> the
>  >>>>  help patch is the topmost window, it'll use that object name
>  >>>> when it
>  >>>>  opens the pdpedia and take you directly to that page.  Should
>  >>>> be in
>  >>>>  tomorrow's builds.
>  >>>>
>  >>>>  This got me thinking that there should be a Pdpedia link in the
>  >>>> popup
>  >>>>  menu that currently has Help, Properties, and Open in it...
>  >>>>
>  >>>>  .hc
>  >>>>
>  >>>>
>  >>>>
>  >>>> -------------------------------------------------------------------
>  >>>> --
>  >>>> ---
>  >>>>  ----
>  >>>>
>  >>>>  "[W]e have invented the technology to eliminate scarcity, but
>  >>>> we are
>  >>>>  deliberately throwing it away to benefit those who profit from
>  >>>>  scarcity."        -John Gilmore
>  >>>>
>  >>>>
>  >>>>
>  >>>>  _______________________________________________
>  >>>>  PD-list at iem.at mailing list
>  >>>>  UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>  >>>> listinfo/pd-list
>  >>>>
>  >>
>  >>
>  >>
>  >>
>  >> ---------------------------------------------------------------------
>  >> ---
>  >>  ----
>  >>
>  >>  The arc of history bends towards justice.     - Dr. Martin Luther
>  >>  King, Jr.
>  >>
>  >>
>  >>
>  >>
>  >>
>  >>  _______________________________________________
>  >>  PD-list at iem.at mailing list
>  >>  UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>  >> listinfo/pd-list
>  >>
>
>
>
>  ------------------------------------------------------------------------
>  ----
>
>  If you are not part of the solution, you are part of the problem.
>
>
>
>
>
>  _______________________________________________
>  PD-list at iem.at mailing list
>  UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>




More information about the Pd-list mailing list