Python Forum
PyGTK3, How to Print All Existing Signal ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PyGTK3, How to Print All Existing Signal ?
#1
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
# ....
# ..
# .
Reply
#2
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PyGtk3, No Module Named gi, on python3.5 on Windows harun2525 8 34,327 May-19-2017, 01:30 PM
Last Post: snippsat
  pygtk3, how to change application theme ? harun2525 7 7,237 May-10-2017, 08:42 PM
Last Post: harun2525
  PyGtk3, How to Create “title-changed” signal for Gtk.Window Widget? harun2525 2 6,037 May-01-2017, 07:59 AM
Last Post: harun2525
  PyGTK3, I can't Change Button and Table Backgorund Color using modify_bg method. harun2525 3 9,083 Apr-24-2017, 04:05 PM
Last Post: changos
  [Tutorial] PyGtk3 How To Change Applicaton Theme harun2525 0 3,563 Apr-15-2017, 11:16 AM
Last Post: harun2525
  PyGtk3 why is Locale Folder Size Half of Module Size ? harun2525 1 3,584 Mar-09-2017, 03:46 AM
Last Post: Analyser
  How do I install small size pygtk3 harun2525 0 2,888 Feb-27-2017, 12:53 AM
Last Post: harun2525

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020