mit-cml / appinventor-sources

MIT App Inventor Public Open Source
http://appinventor.mit.edu/appinventor-sources/
Apache License 2.0
1.48k stars 2.07k forks source link

add more getters and setters for properties #714

Open halatmit opened 8 years ago

halatmit commented 8 years ago

For example, font boldface and italic. Maybe lots more.

wadleo commented 8 years ago

Hi @halatmit, am a newbie to AI and would be grateful if you would be more explicit in your description of the task

E-Hon commented 8 years ago

If we add them for all components, the drawers will blow. I don't think this is what we want.

IMO, the inclusion of getters or setters are the component authors' responsibility. They may have asked "should we allow users to read/write the value?", "will it do harm to other parts?". So the lack of them in some components may be a result of such questions.

I think we can tackle this issue on an as-needed basis, meaning if some getters/setters are often requested by users, we consider adding them