Re: [Vala] Cannot convert from `Gtk.ComboBoxText.get_active_text' to `string'
- From: Ulink <ulink gmx at>
- To: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Cannot convert from `Gtk.ComboBoxText.get_active_text' to `string'
- Date: Mon, 10 Apr 2017 16:43:54 +0200
Hi Sascha,
doctype = cboDocType.get_active_text;
You are assigning a function (a delegate, means a pointer to a function)
to an string, thats not possible, use
doctype = cboDocType.get_active_text();
instead (parantheses on right side) to CALL the get_active_text()
function, which returns a string.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]