[Gtk-sharp-list] UnhandledException

Павел nyx at mail.ru
Thu Jan 26 22:04:12 UTC 2017


Hi.

You have defined <object class="GtkComboBoxText" id="cboDocType"> in your  
gui.glade file, but in Glade.cs  [Builder.Object] private ComboBox  
cboDocType;

ComboBox doesn't have ActiveText property, ComboBoxText has. If you change  
cboDocType's type to ComboBoxText ActiveText property will be available.

On Thu, 26 Jan 2017 21:43:47 +0300, Baltasar García Perez-Schofield  
<baltasarq at gmail.com> wrote:

> I suppose that's because gtk3 is not complete yet. I think, I'm not sure.
> Is anybody in the list capable of answering?
>
> Anyway, you have Active, which will give you the selected item (or -1),  
> so
> you know which item was selected.
>
> -- Baltasar


-- 
С уважением, Павел.


More information about the Gtk-sharp-list mailing list