Re: [gtk-list] no return value for GTK_RUN_FIRST signals?
- From: Tim Janik <timj gtk org>
- To: Peter Lerner <peter lerner bnbt de>
- cc: Gtk+ MList <gtk-list redhat com>
- Subject: Re: [gtk-list] no return value for GTK_RUN_FIRST signals?
- Date: Mon, 6 Sep 1999 06:10:28 +0200 (CEST)
On Sun, 5 Sep 1999, Peter Lerner wrote:
> hi,
>
> does this warning mean, i can not have any return values
> for GTK_RUN_FIRST signals?
>
> Gtk-WARNING **: gtk_signal_newv(): signal "my_signal" -
> return value `gboolean' incompatible with GTK_RUN_FIRST
yes, return values don't make much sense with RUN_FIRST handlers,
because *any* signal handler connection will override the default
handlers return value.
>
> any tips?
>
use a RUN_LAST signal, that way users can _connect() for notification and
can _connect_after() to purposely alter the signals return value.
> mfg
> peter lerner
> --
> Linux - the choice of a GNU generation.
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]