Re: callback function difference
- From: Florian Müllner <florian muellner gmail com>
- To: Zhangwei <zwizhy gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: callback function difference
- Date: Thu, 10 Dec 2009 15:28:35 +0100
El jue, 10-12-2009 a las 22:05 +0800, Zhangwei escribiÃ:
hello
i'm new in gtk
i'm puzzled about the callback functions: g_callback() & gtk_signal_func()
they looked same
is there anyone can tell me the difference ?
There is none. The object/signal system of Gtk was split out into
GObject a long time ago, but part of the old system is still in Gtk for
compatibility reasons.
So while gtk_signal_func is a mere alias for g_callback, the former must
not be used in newly written code - in fact, it will be removed with the
release of Gtk+-3.0.
Regards,
Florian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]