Python Forum

Full Version: PyGTK3, How to Print All Existing Signal ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i want get the all existing signals of any widgets. i did not understand why is small process very hard. is there a method for printing all signals of widget ?

example

mybtn = gtk.Button("example")
all_signals_of_mybtn = mybtn.get_all_signal_list()
for i in all_signals_of_mybtn:
    print(i)

# program output #
# clicked
# released
# destroyed
# active
# ....
# ..
# .
Do You mean attributes? Or literally signals (as in interrupts)
this might be of help depending on answer to above question
https://github.com/Larz60p/TkArgs