I think I would subclass wx.RadioBox. Take a look at the wxPython demo. Also:
http://www.tutorialspoint.com/wxpython/wx_radiobutton_radiobox.htm
In the subclass I'd add self.RegID='somestr' so I can later use the value inside Dabo without much trouble.

Every thing that is available in wxPython can be used in Dabo. The only issue of course is assigning a value to the control and reading the control.

Dabo did not setup a subclass for RadioBox. If and when Phoenix is released maybe somebody will add a dRadioBox. If you are interested you might want to write a dRadioBox.py. I think following the dRadioList would be a good starting point.

Maybe someone has a better suggestion.

Johnf

On 06/04/2013 10:52 AM, Ricardo Aráoz wrote:
So today is Question Day...

I need to use a dRadioList, but I need it to be split in two columns in this way :

    opt1 o        opt2 o
    opt3 o        opt4 o
    opt5 o.........

Now the only example I came by in the DaboDemo is in dGrid but it's a short list of choices and only one column. Haven't been able to find any mention of columns in the API reference.
Is there a way to do it?

_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/51ae2971.6020...@gmail.com

_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/572d0779.3090...@jfcomputer.com

Reply via email to