public HSimpleComboBox() { this.Popup = new ComboListWindow(this); this.Build(); this.IsEditable = false; this.comboBox.Entry.KeyPressEvent += new Gtk.KeyPressEventHandler(this.on_entry_key_pressed); this.comboBox.Entry.Changed += new EventHandler(this.OnTextChanged); this.comboBox.PopupButton.Clicked += new EventHandler(this.on_popup_open); this.Popup.List.SelectedIndexChanged += new EventHandler(this.on_list_item_changed); }
public HSimpleComboBox() { this.Popup = new ComboListWindow( this ); this.Build(); this.IsEditable = false; this.comboBox.Entry.KeyPressEvent += new Gtk.KeyPressEventHandler( this.on_entry_key_pressed ); this.comboBox.Entry.Changed += new EventHandler( this.OnTextChanged ); this.comboBox.PopupButton.Clicked += new EventHandler( this.on_popup_open ); this.Popup.List.SelectedIndexChanged += new EventHandler( this.on_list_item_changed ); }