Re: [PD-dev] pd.tk question

2009-10-31 Thread Hans-Christoph Steiner
On Oct 31, 2009, at 3:12 PM, András Murányi wrote: On Sat, Oct 31, 2009 at 7:00 PM, Hans-Christoph Steiner wrote: On Oct 30, 2009, at 10:24 PM, Ivica Ico Bukvic wrote: Hey Ivica, Just make it a global, that's the easiest. Or use namespaces and namespace variables. .hc I am not all t

Re: [PD-dev] pd.tk question

2009-10-31 Thread András Murányi
On Sat, Oct 31, 2009 at 7:00 PM, Hans-Christoph Steiner wrote: > > On Oct 30, 2009, at 10:24 PM, Ivica Ico Bukvic wrote: > > Hey Ivica, >>> >>> Just make it a global, that's the easiest. Or use namespaces and >>> namespace variables. >>> >>> .hc >>> >> >> I am not all that good with tk. Only lea

Re: [PD-dev] pd.tk question

2009-10-31 Thread Hans-Christoph Steiner
On Oct 30, 2009, at 10:24 PM, Ivica Ico Bukvic wrote: Hey Ivica, Just make it a global, that's the easiest. Or use namespaces and namespace variables. .hc I am not all that good with tk. Only learned what I had to to hack together better version of pd.tk. Any examples would be most appreci

Re: [PD-dev] pd.tk question

2009-10-30 Thread Hans-Christoph Steiner
Hey Ivica, Just make it a global, that's the easiest. Or use namespaces and namespace variables. .hc On Oct 29, 2009, at 12:08 PM, Ivica Ico Bukvic wrote: Hi all, Is there a way to declare a variable within a proc scope so that it can be referenced later externally? e.g. having $name

[PD-dev] pd.tk question

2009-10-29 Thread Ivica Ico Bukvic
Hi all, Is there a way to declare a variable within a proc scope so that it can be referenced later externally? e.g. having $name.something in pdtk_canvas_new linked to a widget can be easily referenced later from another function (e.g. this is how scrollbars work). However if I want to declare a