Forum: GNU Radio set value of variable slider

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
feldmaus (Guest)
on 2009-03-30 11:48
(Received via mailing list)
Hi Gnuradio People,

i tried to set a value for a variable slider without succes:
self._variable_chooser_filter = grc_wxgui.drop_down_control(
  window=self.GetWin(),
  callback=self.change_filter,
  label='Choose Filter',
  index=0,
  choices=[1, 2, 3, 4, 5],
  labels=['No Filter',
    'FIR frequency translating LP',
    'FIR frequency translating BP',
    'Analysis Filterbank+LP',
    'Analysis Filterbank+BP'],
  )
self._variable_chooser_filter.set_value(1)

But this doesn't work, so how to set this ?

Regards Markus
This topic is locked and can not be replied to.