我正在为触摸屏编程,我有一个奇怪的现象,wx.RadioBox在触摸屏上没有响应。我的代码如下:
lblList = ['RCA Ouput', 'HDMI Output']
self.audioOptionsButton = wx.RadioBox(self,label = 'Select which output to use for audio,', pos = (50, 50), choices = lblList , majorDimension = 1, style = wx.RA_SPECIFY_ROWS)
self.audioOptionsButton.SetForegroundColour(Styles.PANEL_TEXT_COLOR)
self.audioOptionsButton.Bind(wx.EVT_RADIOBUTTON, self._setAudioOutput)
self.audioOptionsButton.Bind(wx.EVT_BUTTON, self._setAudioOutput)
我添加了额外的事件绑定,以尝试以不同的方式捕获事件,因为按钮正在工作
有没有其他人在触摸屏上遇到过这个问题
目前没有回答
相关问题 更多 >
编程相关推荐