Re: Emitting signals
- From: Mardy <mardy users sourceforge net>
- To: gtk-app-devel-list gnome org
- Subject: Re: Emitting signals
- Date: Fri, 14 Jul 2006 15:03:35 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]