Re: [Vala] C# developer, newbie question



   > 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]