![featuredImage2 → Python GUI featuredimage2 4](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/03/featuredImage2-9015423.png?resize=1140%2C675&ssl=1)
The ClassType method or DelphiVCL.Application.ClassType is used to return the class reference for the object’s class.
Note: ClassType dynamically determines the type of an object and returns its class reference, or metaclass.
Avoid using ClassType in application code.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.ClassType using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.ClassType) |
See the responses in our Windows command prompt:
![0dir8771863 → Python GUI 0dir 8771863](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/06/0dir-8771863.png?resize=685%2C116&ssl=1)
You can also read short information about the DelphiVCL.Application.ClassType using the print() command:
1 2 |
print(DelphiVCL.Application.ClassType) print(DelphiVCL.Application.ClassType.__doc__) |
See the responses in our Windows command prompt:
![0print4282142 → Python GUI 0print 4282142](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/06/0print-4282142.png?resize=685%2C103&ssl=1)
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.