RE: Emitting signals
- From: <Supreet Mysore infineon com>
- To: <mardy users sourceforge net>
- Cc: gtk-app-devel-list gnome org
- Subject: RE: Emitting signals
- Date: Mon, 17 Jul 2006 14:08:46 +0530
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: gtk-app-devel-list-bounces gnome org
[mailto:gtk-app-devel-list-bounces gnome org] 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,
Supreet Mysore infineon com 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]