Re: [Vala] C# developer, newbie question
- From: Al Thomas <astavale yahoo co uk>
- To: vala-list gnome org, Wolfgang Mauer <wolfgang mauer kabelmail de>
- Subject: Re: [Vala] C# developer, newbie question
- Date: Tue, 18 Dec 2018 11:09:28 +0000 (UTC)
> On Tuesday, 18 December 2018, 09:27:06 GMT, Wolfgang Mauer <wolfgang mauer kabelmail de> wrote: > In
vala tried Gtk.Builder "extend_with_template".
If i try this in vala with
[GtkChild] private Box mainBox;
i get the error "error: [GtkChild] is only allowed in classes with a
[GtkTemplate] attribute"
Is there a other attribute for the gtk.builder using "extend_with_template"?
No there isn't. You either use [GtkChild] in a class marked with [GtkTemplate] andVala generates the right
code for you or you code it all using the GTK+ API.
All the best,
Al
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]