Re: How to use g_signal_emit_by_name?
- From: Owen Taylor <otaylor redhat com>
- To: hamb ka <hamb_ msn com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to use g_signal_emit_by_name?
- Date: Thu, 23 Oct 2003 11:44:29 -0400
On Wed, 2003-10-22 at 23:53, hamb ka wrote:
Hi,
void g_signal_emit_by_name (gpointer instance, const gchar *detailed_signal.
...)
How to give the parameter of detailed_signal, which is supposed to be in the
form of "signal-name::detail"?
For example, the "add" signal from GtkContainer... :(
If you don't have a detail, just leave it off. (No ::)
But you cannot emit the add signal from GtkContainer using
g_signal_emit_by_name(). In general, you should emit only
the signals of your own objects.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]