Re: [Vala] signal row-activated



Arley Consuegra Rosello wrote:
Thanks, problem solved.
Is posible that in the future the compiler can detect if the signal is
connected by Gtk.Builder and the the first parameter (signal source) to
be omitted?

The Vala compiler would have to know the type of the source object and the
signal name. This could be possible with an annotation like

 [AutoConnect (source_type = "TreeView", signal = "row_activated")]
 protected void desplegar_arbol (TreeView view, TreePath ruta, TreeViewColumn columna) {

for example.


Best regards,

Frederik



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]