Hi,

>       [CCode(instance_pos=-1)]
>       protected void obtener_credenciales(Widget origen){

Did you try without the [CCode] attribute?

regards
alberto

> 
> 
> if(this.rad_local.get_active())
>                       {
>               var credenciales=new DialogoCredenciales();
>               
>               switch (credenciales.run())
>               {
>               case ResponseType.ACCEPT:
>                       stdout.printf("acepto");
>                       break;
>               case ResponseType.CANCEL:
>                       credenciales.destroy();
>                       break;
>               }
>               
>                       }
> 
>       }
> 
> ...
> 
> but if at method I add other parameter with type int,string,bool or char
> work fine.
> 
> Example
> 
> [CCode(instance_pos=-1)]
> protected void obtener_credenciales(Widget origen,int pos)
> 
> What is the right way??
> 
> 
> _______________________________________________
> Vala-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/vala-list
> 
> This email has been scanned for all viruses by the MessageLabs Email
> Security System.
-- 
Alberto Colombo, MSc

PhD student at Digital Imaging Research Centre
Kingston University, London

e-mail: [email protected]
 phone: +44 (0)20 8547 8642
  http://cism.kingston.ac.uk/people/details.php?AuthorID=925

This email has been scanned for all viruses by the MessageLabs Email
Security System.
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to