davidwilliamson82 / dat-gui

Automatically exported from code.google.com/p/dat-gui
0 stars 0 forks source link

text field: can be functions listen() + onChange() combined? #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, great project!!!!!! + is it possible to have one text field that will 
listen to application input (currently with listen() function) and also on user 
input (currently onChange())? So basically one text field that can be changed 
within the application and also with user-input.

I think it would be very useful functionality...

Cheers,.
m. 

Original issue reported on code.google.com by miroslav...@gmail.com on 9 Jan 2012 at 11:27

GoogleCodeExporter commented 8 years ago
Hm, interesting point. Maybe it would make sense to disable listen() 
functionality when the controller is focused? What is your expected behavior.

Original comment by georgebr...@google.com on 13 Jan 2012 at 11:01

GoogleCodeExporter commented 8 years ago
I think I would greatly be interested in such a solution. How could I implement 
that? I have looked through the source a couple of times and though I see the 
listen functions, not sure how to disable them when there is focus/changes.

I think a couple of people would find it great to be able to interact with the 
values both through your gui and also be update automatically.

Thanks, and great project!

Original comment by msj...@gmail.com on 23 Apr 2012 at 12:44

GoogleCodeExporter commented 8 years ago
(note) There's some confusion that not being able to change a listen()ed value 
is/is not a bug eg 
http://stackoverflow.com/questions/17233560/dat-gui-unser-input-not-working - 
the docs/examples could do with some clarity on this.

Suggestion - could there be some sort of color coding for changeable, listened, 
and onFinishedChangeable elements in the GUI - or maybe some other indication 
in the gui.

Thanks.

Original comment by xun...@gmail.com on 7 Mar 2014 at 10:43