Hey thanks for your response.
I had tried this exactly the same way as u said by doing
g_signal_emit_by_name(entry, "backspace"), but it gives me an error like
the one below
"signal id '65288' is invalid for instance '0X-----' "

Regards,
Supreet

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mardy
Sent: Friday, July 14, 2006 6:34 PM
To: gtk-app-devel-list@gnome.org
Subject: Re: Emitting signals

Le die Fri, Jul 14, 2006 at 03:00:52PM +0530,
[EMAIL PROTECTED] ha scribite:
> I am creating a application where there is a text editor and a button.
> On  clicking the button, the backspace signal has to triggered for 
> text editor so that it deletes the last character.
> Can any one tell me how I can emit signal from one widget to another.

I don't think you can do this in a single step. Instead, you should call
g_signal_emit_by_name(entry, "backspace") inside the callback you
register for the button's "clicked" signal.


--
Saluti,
    Mardy
http://interlingua.altervista.org
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to