Version 1 of BWidget::ComboBox

Updated 2005-08-25 17:20:36

Silas - 2005-08-25 - A simple BWidget::ComboBox example:

  package require BWidget

  ComboBox .combo -values {zero one}
  pack .combo

  #changing the content of the combo
  .combo configure -values {two three}

  #return the index of the current item
  puts [.combo getvalue]

  #set a new index
  .combo setvalue @1

Category Widget of the BWidget extension