[PD] Tk GUI script (pd.tk) questions ..

Hans-Christoph Steiner hans at eds.org
Fri Oct 5 17:50:21 CEST 2007


The key bindings and menus are quite messy in the pd.tk.  From other  
Tcl apps I've seen, I think it could be made MUCH cleaner and easier  
to handle.  Basically, there should be one spot for each platform  
that defines all of the key bindings and menu structure, then that is  
used everywhere.

If someone would take this on, I'll gladly help with the tricky  
bits.  Another thing that would be really great would be to clean up  
the preferences panels.

.hc

On Oct 4, 2007, at 1:31 AM, ild0012 at londonmet.ac.uk wrote:

> Hello list.
>
> I'd like to ask those of you who knows Tk/Tcl very well.
>
> I have attempted and succeed changing pd.tk for my personal use ..
>
> i added extra key biddings and removed menubars ..
> well, Romain gave me the no-scroll + no-menu script
>
> i have few thoughts ..
>
> if we could set the menu as function, so it could be removable by a  
> msg ..?
>
> may be the window list needs some improvments .. if it could be kept
> separately from the .m.windows , so removing the whole bock of code  
> with
> menubar related stuff if pd_menubar==0 could be better then just
> removing some of bits of it ..
>
> regrding fonts, i have set most of them to 'clean',
> which give a pretty looking gui ..
>
> may be they could be set by variables in a separate config file ?
>
>
> i feel like i can most of these modifications myself ..
> without getting extra complexity like in  Mathieu's desiredata ..
>
> the question is, how can such kind of enhanchements affect the
> perfomance ?
>
> could some extra variables take extra bits of memory ?
> how efficient Tk/Tcl is ? ..so people on IRC channel #dataflow
> complained a lot , that Tk is not very fast etc...
>
> setting leyboard biddings i added more the 10 extra conditional
> statements ..i thoght that getting any keyborad events Tk will have to
> run trough some more stuff in order to send something to pd, isn't it?
> or Tk has a way of super-super-fast scan trough all that?
>
>
> -- 
> thanks for attention,
> ilya .d
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list



------------------------------------------------------------------------ 
----

"[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






More information about the Pd-list mailing list