![→ Python GUI What is the ClassNameIs Method in DelphiVCLApplication](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/06/pexels-startup-stock-photos-7102-9584991-scaled.jpg?resize=1140%2C694&ssl=1)
The ClassNameIs method or DelphiVCL.Application.ClassNameIs is used to determine whether an object is of a specific type when you develop windows software.
ClassNameIs determines whether an object instance or class reference has a class name that matches a specified string. This is useful to query objects across modules or shared libraries.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.ClassNameIs using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.ClassNameIs) |
See the responses in our Windows command prompt:
![0dir6378530 → Python GUI 0dir 6378530](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/06/0dir-6378530.png?resize=685%2C116&ssl=1)
You can also read short information about the DelphiVCL.Application.ClassNameIs using the print() command:
1 2 |
print(DelphiVCL.Application.ClassNameIs) print(DelphiVCL.Application.ClassNameIs.__doc__) |
See the responses in our Windows command prompt:
![0print5182713 → Python GUI 0print 5182713](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/06/0print-5182713.png?resize=683%2C98&ssl=1)
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.