Re: [Vala] signal pepare
- From: Alberto Colombo <a colombo kingston ac uk>
- To: vala-list gnome org
- Subject: Re: [Vala] signal pepare
- Date: Tue, 02 Jun 2009 09:11:24 +0100
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
Vala-list gnome org
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: a colombo kingston ac uk
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]