Grouping Radio Streams with a Glade

I am programming a GUI in Haskell using the Glade editor with gtk2hs bindings. I currently fail to fail when grouping switches. This will not let me choose the name of the group. Can anyone help?

+4
source share
2 answers

Follow these steps:

  • select the desired switch
  • press the button ... next to the group entry.
  • Select the radio button in this project dialog.
    • select the desired line in the list of objects
    • click the switch on the left side of the line (this will be a check).
    • click OK
+4
source

A little more accurate / relevant, for each switch in the group, except the one you want to activate initially,

  • select the switch (not initially active),
  • in the "Button Attributes" section, in the "Group" field, enter the identifier of the initially active switch in this group (or click the edit icon on the right and select it in the pop-up list by clicking on the switch to the left of its name).
  • Click OK.

Repeat for all initially inactive switches that should be associated with the initially active. Please note that later you can change the initially active one by simply making radioobutton Active by checking the active checkbox in the "Button Attributes" section. If it is already marked active, cancel it first.

+1
source

All Articles