Mit dem style wxRB_Group leite ich eine neue Radiobutton Group ein.
Aber wie kann ich wx sagen das standardmässig noch kein RadioButton vorgewählt/selektiert wird ?
Gruß, Felix
Radiobutton Group
Soeben ausprobiert:leobm hat geschrieben:Mit dem style wxRB_Group leite ich eine neue Radiobutton Group ein.
Aber wie kann ich wx sagen das standardmässig noch kein RadioButton vorgewählt/selektiert wird ?
Gruß, Felix
Code: Alles auswählen
self.radio1 = wx.RadioButton(self, wx.NewId(), 'normal', (640, 60), wx.DefaultSize, wx.RB_GROUP)
self.radio2 = wx.RadioButton(self, wx.NewId(), 'light', (710, 60), wx.DefaultSize)
self.radio3 = wx.RadioButton(self, wx.NewId(), 'bold', (780, 60), wx.DefaultSize)
self.radio1.SetValue(False)