Get a list of observable properties

i know how to use the command 'properties' to get a list of all properties that an object has. Is there a way to get a list of only the properties that are observable?


Use metaclass information, and look for the properties that have the SetObservable attribute:

mc = meta.class.fromName('MyClass');
idx = [mc.PropertyList.SetObservable];
pnames = {mc.PropertyList.Name};
pnames = pnames(idx)

Same can be done for GetObservable attribute

Need Your Help

How to delay input


First i got a menu asking what i want to do, the problem is even if i select exit i still have to input the variables from the addEntry function. How do i make it so that only when i call the addEn...

Sencha Touch: Ext.draw.Component is not working at all

extjs sencha-touch sencha-touch-2 sencha-architect

I'm trying to draw a canvas to the screen using Sencha Touch and Ext.draw.Component. I haven't been able to make anything render whatsoever.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.