GenericWindow.SetComboValues C# (CSharp) Method

SetComboValues() public method

public SetComboValues ( string values, string current ) : void
values string
current string
return void
    public void SetComboValues(string [] values, string current)
    {
        combo = ComboBox.NewText ();
        UtilGtk.ComboUpdate(combo, values, "");

        hbox_combo.PackStart(combo, true, true, 0);
        hbox_combo.ShowAll();
        combo.Sensitive = true;

        combo.Active = UtilGtk.ComboMakeActive(values, current);
    }