[PD-dev] GUI plugins

Hans-Christoph Steiner hans at at.or.at
Sun Dec 5 01:29:34 CET 2010


On Dec 4, 2010, at 6:56 PM, András Murányi wrote:

>
>
> 2010/9/13 Hans-Christoph Steiner <hans at at.or.at>
>
> Hey András,
>
> Since we are in bug fixing mode for 0.43, now is a good time to test  
> your GUI plugins, so we can make sure that they work in 0.43.  Your  
> plugins-plugin.tcl is a good example.
>
> .hc
>
> OK, you'll find plugins-plugin rewritten and attached. Later i'll  
> add it to the wiki too...
>
> Now i'd rewrite my other plugins, and the first would be a simple  
> one binding fullscreen to F11 - but it seems keypresses are already  
> captured and i cannot get a hold of F11 any more from TCL. Is that  
> right or am i just lost?
>
> Andras
> <plugins-plugin.tcl>

Excellent!  I just tried it out, and got a problem when I unchecked  
"set_custom_stored_histores".  Here's the screenshot and error log:

bad option "-index": must be -all, -ascii, -decreasing, -dictionary, - 
exact, -glob, -increasing, -inline, -integer, -not, -real, -regexp, - 
sorted, or -start
bad option "-index": must be -all, -ascii, -decreasing, -dictionary, - 
exact, -glob, -increasing, -inline, -integer, -not, -real, -regexp, - 
sorted, or -start
     while executing
"lsearch -index 0 -exact $startup_plugins $shortname"
     (procedure "toggle_startup_plugin" line 3)
     invoked from within
"toggle_startup_plugin set_custom_stored_histories"
     invoked from within
".plugwindow.body.canvas.set_custom_stored_histories.check invoke"
     ("uplevel" body line 1)
     invoked from within
"uplevel #0 [list $w invoke]"
     (procedure "tk::ButtonUp" line 23)
     invoked from within
"tk::ButtonUp .plugwindow.body.canvas.set_custom_stored_histories.check"
     (command bound to event)

.hc


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

All mankind is of one author, and is one volume; when one man dies,  
one chapter is not torn out of the book, but translated into a better  
language; and every chapter must be so translated.... -John Donne


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20101204/85568462/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 1.png
Type: image/png
Size: 29222 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20101204/85568462/attachment-0001.png>


More information about the Pd-dev mailing list