Re: emits a signal?
- From: Sven Neumann <sven gimp org>
- To: Axel <axel azerty netcourrier com>
- Cc: gtk-list gnome org, gtk-app-devel-list gnome org
- Subject: Re: emits a signal?
- Date: 25 Mar 2003 00:00:12 +0100
Hi,
Axel <axel azerty netcourrier com> writes:
On Mon, Mar 24, 2003 at 10:00:39PM +0100, Axel wrote:
is it possible to emit a signal "arbitrarly", in a function, in
example, make a widget emit a signal "activate" without have to
click on it, or juste like gtk_signal_emit("my_signal") ?
What's wrong with gtk_signal_emit?
I just imagined a function which send signal like that, I didn ' t
know it really exist :)
actually you should use gtk_widget_activate() instead which will emit
the signal for you. Such functions exist for most signals so you
should rarely have to use g_signal_emit().
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]