Here is a useful abstraction that I made, to make editing of gui objects
much easier and quicker.
This example is for a canvas, but if it's acceptable I'll take the model
and adapt it to all other GUI objects. I think I used all possible options.
Unfortunately it isn't possible to query existing gui objects for their
parameters, or it would be even easier. But for those who like to make
their patches pretty, I think it might come in handy.
Please try it out, correct, criticise, etc.
Greetings,
Joao
It looks quite nice! If it was cleaned up really nice, it could
replace the Properties panel that's written in Tk. That would be cool,
if all of the Properties panels were written in Pd too.
But I couldn't get it working, could you send a working example patch?
.hc
On Nov 17, 2005, at 6:47 PM, João Miguel Pais wrote:
Here is a useful abstraction that I made, to make editing of gui
objects much easier and quicker.This example is for a canvas, but if it's acceptable I'll take the
model and adapt it to all other GUI objects. I think I used all
possible options. Unfortunately it isn't possible to query existing gui objects for
their parameters, or it would be even easier. But for those who like
to make their patches pretty, I think it might come in handy.Please try it out, correct, criticise, etc.
Greetings,
Joao
--
Lugostr. 14 79100 Freiburg i. Br. Deutschland +49 (0)761 7074997 jmmmp@arcor.de<cnv- edit.pd>_______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously.
- Benjamin Franklin
It looks quite nice! If it was cleaned up really nice, it could replace
the Properties panel that's written in Tk. That would be cool, if all
of the Properties panels were written in Pd too.
That would be nice, but I don't know if it would be possible to replace
features like tabbing or shift-tabbing betweeen fields, etc, which are
quite handy (and which should also be available in nummerboxes, etc., I
have made that suggestion already once). This is more handy for those who
work a bit with GUI, it should speed up things (specially when it's
necessary to try out things).
But I couldn't get it working, could you send a working example patch?
that's strange. I don't know if I wrote it correctly, but to work one must
edit the send (optionally, also the receive) in the bottom of the window,
to make the connection with the desired patch.
anyway, here's a working example. the canvas should be edited by the patch
that I sent first.
Joao