Library and attributes

Is there any way to print the attributes, or what it's called, from a library?

For example, if I include a library for some display I can use
...getWidth() or what ever, is it possible to print all those attributes?

In python I think it is print(dir(something))

I hope you all understand what i mean :slight_smile:


no. C/C++ is a compiled language, not interpreted. The easiest method is to open the .h file included in the library and look at it.

1 Like

Oh, I see, thanks for the reply. :slight_smile:

Some libraries also have a keywords.txt file that will list class methods.

1 Like

Aha, thanks for the tip :slight_smile: