Re: [PD] Outlet on 'struct' object
--- On Sat, 1/10/09, Mike McGonagle mjm...@gmail.com wrote: From: Mike McGonagle mjm...@gmail.com Subject: Re: [PD] Outlet on 'struct' object To: pd-list@iem.at Date: Saturday, January 10, 2009, 6:49 AM Yeah, this is really nice. One thing I noticed was that if I click and hold directly over the drawn line connected to the active float inlet, you can drag and it sends a 'change' message, it also redraws the line by following the mouse. Is there anyway to get the mouse coordinates such that it can be used as input to control the struct data? It would be really nice if this type of thing could be abstracted to allow for a variable number of inlets to switch. Mike I made a mockup of how this could work using ds dummy-objects, which you can see in vswitch_mockup.pd. This just shows that when you pull the arrow, another inlet would have to be created inside the abstraction. I also made a vswitch abs that would work if you could associate dynamic patching with data structures. The necessary objects are comments in pd-inlet-template: [drawobj] and [drawconnect]. The idea would be that the object chain is created as an element of an instance of a ds, so you could plot an array then use [setsize] to create and destroy the objects as necessary. But test.pd reveals a bug: any ds object created (or made visible) after the abstraction loads will bleed through onto the parent. -Jonathan On Fri, Jan 9, 2009 at 10:29 PM, Luke Iannini lukex...@gmail.com wrote: That's extremely nice - good stuff. I didn't know GOP datastructures could be done so easily now; I remember it being weirder. I'd love to start a collection of GUI objects like this - looks like the change selector is working as well, so perhaps an advanced slider can finally be done! Mind if I add it to a ds-gui section in SVN? Thanks for sending it along Luke On Fri, Jan 9, 2009 at 4:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote: I made a clone of max's gswitch using the click selector a while back. With 0.42, you can click the gop window to switch inputs. --- On Sat, 1/10/09, Mike McGonagle mjm...@gmail.com wrote: From: Mike McGonagle mjm...@gmail.com Subject: Re: [PD] Outlet on 'struct' object To: pd-list@iem.at Date: Saturday, January 10, 2009, 1:06 AM Ok, I tried it on the sequence example, and it only seems to output stuff in Edit Mode. Is that correct? Plus, it also seems to only output 'select' and 'deselect' messages. It also seems to repeatedly output them when you 'select' and drag an object. Is this a new feature? (I seem to remember reading something about mouse events for structs in 42) Are there any examples of how these are used? Mike On Fri, Jan 9, 2009 at 4:42 PM, Frank Barknecht f...@footils.org wrote: Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: I was just curious, and looking at the source was not all that obvious, but does anyone know what the outlet on a 'struct' object is used for? It reports selected and clicked (and maybe more) data structure instances. Connect a [print] to it and select some objects to see the messages. The outlet sends messages composed of a selector and a gpointer, which you can route to [get] objects for example. It's pretty useful! Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N struct vgswitch float x float y float x0 symbol sname array inlets inlet-template array drawinlets drawinlet; #N struct inlet-template float num symbol list-obj symbol prepend-obj symbol send symbol vgswitch_in-obj symbol inlet-obj; #N struct drawinlet float something; #N canvas 0 86 1004 682 12; #N canvas 0 0 450 300 drawinlet 0; #X obj 97 111 drawpolygon 0 1 0 0 8 0; #X obj 101 46 struct drawinlet float something; #X restore 15 -166 pd drawinlet; #N canvas 87 309 805 286 vgswitch 0; #X
Re: [PD] Outlet on 'struct' object
On Fri, Jan 9, 2009 at 8:29 PM, Luke Iannini lukex...@gmail.com wrote: That's extremely nice - good stuff. I didn't know GOP datastructures could be done so easily now; I remember it being weirder. Whoops, missed the [pd $0-gop] subpatch. That's the weirdness I remember ; ) Best Luke I'd love to start a collection of GUI objects like this - looks like the change selector is working as well, so perhaps an advanced slider can finally be done! Mind if I add it to a ds-gui section in SVN? Thanks for sending it along Luke On Fri, Jan 9, 2009 at 4:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote: I made a clone of max's gswitch using the click selector a while back. With 0.42, you can click the gop window to switch inputs. --- On Sat, 1/10/09, Mike McGonagle mjm...@gmail.com wrote: From: Mike McGonagle mjm...@gmail.com Subject: Re: [PD] Outlet on 'struct' object To: pd-list@iem.at Date: Saturday, January 10, 2009, 1:06 AM Ok, I tried it on the sequence example, and it only seems to output stuff in Edit Mode. Is that correct? Plus, it also seems to only output 'select' and 'deselect' messages. It also seems to repeatedly output them when you 'select' and drag an object. Is this a new feature? (I seem to remember reading something about mouse events for structs in 42) Are there any examples of how these are used? Mike On Fri, Jan 9, 2009 at 4:42 PM, Frank Barknecht f...@footils.org wrote: Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: I was just curious, and looking at the source was not all that obvious, but does anyone know what the outlet on a 'struct' object is used for? It reports selected and clicked (and maybe more) data structure instances. Connect a [print] to it and select some objects to see the messages. The outlet sends messages composed of a selector and a gpointer, which you can route to [get] objects for example. It's pretty useful! Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Outlet on 'struct' object
Oops. On Sat, Jan 10, 2009 at 3:45 AM, Luke Iannini lukex...@gmail.com wrote: On Sat, Jan 10, 2009 at 2:22 AM, Luke Iannini lukex...@gmail.com wrote: On Fri, Jan 9, 2009 at 8:29 PM, Luke Iannini lukex...@gmail.com wrote: That's extremely nice - good stuff. I didn't know GOP datastructures could be done so easily now; I remember it being weirder. Whoops, missed the [pd $0-gop] subpatch. That's the weirdness I remember ; ) Best Luke I'd love to start a collection of GUI objects like this - looks like the change selector is working as well, so perhaps an advanced slider can finally be done! Hallo me! Sorry for all the self-replies : ) I guess the change selector has been working for quite a while. What I meant to be excited about is that A) you found a workaround for the bug which removes the hide object name and args flag and B) at some point, the issue Frank reported here about GOP'd DSs being unmovable was fixed. http://lists.puredata.info/pipermail/pd-dev/2006-11/007804.html Here's a quick slider based on your gswitch techniques and FB's original; looks like all the groundwork is laid for some real fun to be had... I'll start having it soon : ) Best Luke Mind if I add it to a ds-gui section in SVN? Thanks for sending it along Luke On Fri, Jan 9, 2009 at 4:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote: I made a clone of max's gswitch using the click selector a while back. With 0.42, you can click the gop window to switch inputs. --- On Sat, 1/10/09, Mike McGonagle mjm...@gmail.com wrote: From: Mike McGonagle mjm...@gmail.com Subject: Re: [PD] Outlet on 'struct' object To: pd-list@iem.at Date: Saturday, January 10, 2009, 1:06 AM Ok, I tried it on the sequence example, and it only seems to output stuff in Edit Mode. Is that correct? Plus, it also seems to only output 'select' and 'deselect' messages. It also seems to repeatedly output them when you 'select' and drag an object. Is this a new feature? (I seem to remember reading something about mouse events for structs in 42) Are there any examples of how these are used? Mike On Fri, Jan 9, 2009 at 4:42 PM, Frank Barknecht f...@footils.org wrote: Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: I was just curious, and looking at the source was not all that obvious, but does anyone know what the outlet on a 'struct' object is used for? It reports selected and clicked (and maybe more) data structure instances. Connect a [print] to it and select some objects to see the messages. The outlet sends messages composed of a selector and a gpointer, which you can route to [get] objects for example. It's pretty useful! Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ds-slider2-test.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Outlet on 'struct' object
Sure! I didn't know about the ds-gui section, I'll check it out when I get a chance. --- On Sat, 1/10/09, Luke Iannini lukex...@gmail.com wrote: From: Luke Iannini lukex...@gmail.com Subject: Re: [PD] Outlet on 'struct' object To: Jonathan Wilkes jancs...@yahoo.com Cc: pd-list@iem.at, Mike McGonagle mjm...@gmail.com Date: Saturday, January 10, 2009, 5:29 AM That's extremely nice - good stuff. I didn't know GOP datastructures could be done so easily now; I remember it being weirder. I'd love to start a collection of GUI objects like this - looks like the change selector is working as well, so perhaps an advanced slider can finally be done! Mind if I add it to a ds-gui section in SVN? Thanks for sending it along Luke On Fri, Jan 9, 2009 at 4:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote: I made a clone of max's gswitch using the click selector a while back. With 0.42, you can click the gop window to switch inputs. --- On Sat, 1/10/09, Mike McGonagle mjm...@gmail.com wrote: From: Mike McGonagle mjm...@gmail.com Subject: Re: [PD] Outlet on 'struct' object To: pd-list@iem.at Date: Saturday, January 10, 2009, 1:06 AM Ok, I tried it on the sequence example, and it only seems to output stuff in Edit Mode. Is that correct? Plus, it also seems to only output 'select' and 'deselect' messages. It also seems to repeatedly output them when you 'select' and drag an object. Is this a new feature? (I seem to remember reading something about mouse events for structs in 42) Are there any examples of how these are used? Mike On Fri, Jan 9, 2009 at 4:42 PM, Frank Barknecht f...@footils.org wrote: Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: I was just curious, and looking at the source was not all that obvious, but does anyone know what the outlet on a 'struct' object is used for? It reports selected and clicked (and maybe more) data structure instances. Connect a [print] to it and select some objects to see the messages. The outlet sends messages composed of a selector and a gpointer, which you can route to [get] objects for example. It's pretty useful! Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Outlet on 'struct' object
The selectors I'm aware of (and the mouse behaviors that trigger them): click (vanilla 0.42): click the object in non-editmode change: stretch or move an object in non-editmode select: click an object or drag-click/highlight several objects in editmode (or select-all) deselect: click away from the object to remove the blue bounding-box in editmode (or select-none) displace: click and drag the object in editmode All the above work with [drawnumber], but [drawsymbol] prints drawnumber_motion to the console if you click and drag in non-editmode. Clicking somewhere in an array outputs lists for each element, but I can't figure out what they point to. I also remember seeing activate and delete somewhere in the source code, but I don't think they are implemented yet. -Jonathan --- On Fri, 1/9/09, Frank Barknecht f...@footils.org wrote: From: Frank Barknecht f...@footils.org Subject: Re: [PD] Outlet on 'struct' object To: pd-list@iem.at Date: Friday, January 9, 2009, 11:42 PM Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: I was just curious, and looking at the source was not all that obvious, but does anyone know what the outlet on a 'struct' object is used for? It reports selected and clicked (and maybe more) data structure instances. Connect a [print] to it and select some objects to see the messages. The outlet sends messages composed of a selector and a gpointer, which you can route to [get] objects for example. It's pretty useful! Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Outlet on 'struct' object
Ok, I tried it on the sequence example, and it only seems to output stuff in Edit Mode. Is that correct? Plus, it also seems to only output 'select' and 'deselect' messages. It also seems to repeatedly output them when you 'select' and drag an object. Is this a new feature? (I seem to remember reading something about mouse events for structs in 42) Are there any examples of how these are used? Mike On Fri, Jan 9, 2009 at 4:42 PM, Frank Barknecht f...@footils.org wrote: Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: I was just curious, and looking at the source was not all that obvious, but does anyone know what the outlet on a 'struct' object is used for? It reports selected and clicked (and maybe more) data structure instances. Connect a [print] to it and select some objects to see the messages. The outlet sends messages composed of a selector and a gpointer, which you can route to [get] objects for example. It's pretty useful! Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Outlet on 'struct' object
Oops, sorry, had the wrong version open... tried 42-4 and this seems to show more stuff. So, then, once again, using the sequence example, connected up print statements to all the 'struct' object. In the 'click' message, what is the number that follows? I can't seem to make sense of it, as some objects output one or two messages, while others output a whole series of them. Is there some sort of documentation on this? Thanks. Mike On Fri, Jan 9, 2009 at 6:06 PM, Mike McGonagle mjm...@gmail.com wrote: Ok, I tried it on the sequence example, and it only seems to output stuff in Edit Mode. Is that correct? Plus, it also seems to only output 'select' and 'deselect' messages. It also seems to repeatedly output them when you 'select' and drag an object. Is this a new feature? (I seem to remember reading something about mouse events for structs in 42) Are there any examples of how these are used? Mike On Fri, Jan 9, 2009 at 4:42 PM, Frank Barknecht f...@footils.org wrote: Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: I was just curious, and looking at the source was not all that obvious, but does anyone know what the outlet on a 'struct' object is used for? It reports selected and clicked (and maybe more) data structure instances. Connect a [print] to it and select some objects to see the messages. The outlet sends messages composed of a selector and a gpointer, which you can route to [get] objects for example. It's pretty useful! Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Outlet on 'struct' object
Guess this is all relatively new stuff... I should probably worry about this when it is more mature... Mike On Fri, Jan 9, 2009 at 5:42 PM, Jonathan Wilkes jancs...@yahoo.com wrote: The selectors I'm aware of (and the mouse behaviors that trigger them): click (vanilla 0.42): click the object in non-editmode change: stretch or move an object in non-editmode select: click an object or drag-click/highlight several objects in editmode (or select-all) deselect: click away from the object to remove the blue bounding-box in editmode (or select-none) displace: click and drag the object in editmode All the above work with [drawnumber], but [drawsymbol] prints drawnumber_motion to the console if you click and drag in non-editmode. Clicking somewhere in an array outputs lists for each element, but I can't figure out what they point to. I also remember seeing activate and delete somewhere in the source code, but I don't think they are implemented yet. -Jonathan --- On Fri, 1/9/09, Frank Barknecht f...@footils.org wrote: From: Frank Barknecht f...@footils.org Subject: Re: [PD] Outlet on 'struct' object To: pd-list@iem.at Date: Friday, January 9, 2009, 11:42 PM Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: I was just curious, and looking at the source was not all that obvious, but does anyone know what the outlet on a 'struct' object is used for? It reports selected and clicked (and maybe more) data structure instances. Connect a [print] to it and select some objects to see the messages. The outlet sends messages composed of a selector and a gpointer, which you can route to [get] objects for example. It's pretty useful! Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Outlet on 'struct' object
I made a clone of max's gswitch using the click selector a while back. With 0.42, you can click the gop window to switch inputs. --- On Sat, 1/10/09, Mike McGonagle mjm...@gmail.com wrote: From: Mike McGonagle mjm...@gmail.com Subject: Re: [PD] Outlet on 'struct' object To: pd-list@iem.at Date: Saturday, January 10, 2009, 1:06 AM Ok, I tried it on the sequence example, and it only seems to output stuff in Edit Mode. Is that correct? Plus, it also seems to only output 'select' and 'deselect' messages. It also seems to repeatedly output them when you 'select' and drag an object. Is this a new feature? (I seem to remember reading something about mouse events for structs in 42) Are there any examples of how these are used? Mike On Fri, Jan 9, 2009 at 4:42 PM, Frank Barknecht f...@footils.org wrote: Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: I was just curious, and looking at the source was not all that obvious, but does anyone know what the outlet on a 'struct' object is used for? It reports selected and clicked (and maybe more) data structure instances. Connect a [print] to it and select some objects to see the messages. The outlet sends messages composed of a selector and a gpointer, which you can route to [get] objects for example. It's pretty useful! Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list gswitch.pd Description: Binary data gswitch-example.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Outlet on 'struct' object
That's extremely nice - good stuff. I didn't know GOP datastructures could be done so easily now; I remember it being weirder. I'd love to start a collection of GUI objects like this - looks like the change selector is working as well, so perhaps an advanced slider can finally be done! Mind if I add it to a ds-gui section in SVN? Thanks for sending it along Luke On Fri, Jan 9, 2009 at 4:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote: I made a clone of max's gswitch using the click selector a while back. With 0.42, you can click the gop window to switch inputs. --- On Sat, 1/10/09, Mike McGonagle mjm...@gmail.com wrote: From: Mike McGonagle mjm...@gmail.com Subject: Re: [PD] Outlet on 'struct' object To: pd-list@iem.at Date: Saturday, January 10, 2009, 1:06 AM Ok, I tried it on the sequence example, and it only seems to output stuff in Edit Mode. Is that correct? Plus, it also seems to only output 'select' and 'deselect' messages. It also seems to repeatedly output them when you 'select' and drag an object. Is this a new feature? (I seem to remember reading something about mouse events for structs in 42) Are there any examples of how these are used? Mike On Fri, Jan 9, 2009 at 4:42 PM, Frank Barknecht f...@footils.org wrote: Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: I was just curious, and looking at the source was not all that obvious, but does anyone know what the outlet on a 'struct' object is used for? It reports selected and clicked (and maybe more) data structure instances. Connect a [print] to it and select some objects to see the messages. The outlet sends messages composed of a selector and a gpointer, which you can route to [get] objects for example. It's pretty useful! Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Outlet on 'struct' object
Yeah, this is really nice. One thing I noticed was that if I click and hold directly over the drawn line connected to the active float inlet, you can drag and it sends a 'change' message, it also redraws the line by following the mouse. Is there anyway to get the mouse coordinates such that it can be used as input to control the struct data? It would be really nice if this type of thing could be abstracted to allow for a variable number of inlets to switch. Mike On Fri, Jan 9, 2009 at 10:29 PM, Luke Iannini lukex...@gmail.com wrote: That's extremely nice - good stuff. I didn't know GOP datastructures could be done so easily now; I remember it being weirder. I'd love to start a collection of GUI objects like this - looks like the change selector is working as well, so perhaps an advanced slider can finally be done! Mind if I add it to a ds-gui section in SVN? Thanks for sending it along Luke On Fri, Jan 9, 2009 at 4:30 PM, Jonathan Wilkes jancs...@yahoo.com wrote: I made a clone of max's gswitch using the click selector a while back. With 0.42, you can click the gop window to switch inputs. --- On Sat, 1/10/09, Mike McGonagle mjm...@gmail.com wrote: From: Mike McGonagle mjm...@gmail.com Subject: Re: [PD] Outlet on 'struct' object To: pd-list@iem.at Date: Saturday, January 10, 2009, 1:06 AM Ok, I tried it on the sequence example, and it only seems to output stuff in Edit Mode. Is that correct? Plus, it also seems to only output 'select' and 'deselect' messages. It also seems to repeatedly output them when you 'select' and drag an object. Is this a new feature? (I seem to remember reading something about mouse events for structs in 42) Are there any examples of how these are used? Mike On Fri, Jan 9, 2009 at 4:42 PM, Frank Barknecht f...@footils.org wrote: Hallo, Mike McGonagle hat gesagt: // Mike McGonagle wrote: I was just curious, and looking at the source was not all that obvious, but does anyone know what the outlet on a 'struct' object is used for? It reports selected and clicked (and maybe more) data structure instances. Connect a [print] to it and select some objects to see the messages. The outlet sends messages composed of a selector and a gpointer, which you can route to [get] objects for example. It's pretty useful! Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list