Have I misunderstood something essential?ĮDIT: After much experimentation, I have found that second bit of code works for a signal GtkToggleButton>toggled>rba. I also need to be able to switch which button is active, preferably without triggering the/its function. I don't need anything complicated, eitherĪ function which triggers when a button is clicked, within which I can find out which one is now active, ORĪ function for each button which triggers only when its own button is clicked. If I use GtkButton or GtkToggleButton the rba function triggers twice, I assume it triggers both when the button becomes the active one and when it becomes the inactive one. Using this tutorial I have created a similar Glade GUI which has a quit button and two radio buttons A and B.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |