Hi how to get wat all buttons are present in GUI window using python
here i want to read all the buttons present in a window .

Recommended Answers

All 2 Replies

If you have one file and want to see what buttons are in that .py file without reading it, why not go to your python ide and open the file, read it through and search for buttons by the test used to create the buttons.

If that doesn't answer your question, why not show the relevant code and explain more clearly.

Stop. More information, spent an extra 2 minutes posting your question and it will save a lot of time in the long run. So.
What GUI toolkit? Tk? wxPython? Qt?
What exactly are you wanting to find?

Once you have answered that, we will find it easier to answer you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.