Re: Gtk 1.2 "gtk_object_class_add_signals" in Gtk 2
- From: Havoc Pennington <hp redhat com>
- To: earlero mi madritel es
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Gtk 1.2 "gtk_object_class_add_signals" in Gtk 2
- Date: 28 Dec 2001 11:14:40 -0500
Earle Robert Nietzel <earlero mi madritel es> writes:
Hi,
In the Gtk 1.2 API there exists this function:
void gtk_object_class_add_signals
<http://developer.gnome.org/doc/API/gtk/gtkobject.html#GTK-OBJECT-CLASS-ADD-SIGNALS> (GtkObjectClass
*klass,
guint
<http://developer.gnome.org/doc/API/glib/glib-basic-types.html#GUINT> *signals,
guint
<http://developer.gnome.org/doc/API/glib/glib-basic-types.html#GUINT> nsignals);
When porting this too Gtk 2.0 is there an equivalent function?
When you do g_signal_new(), the signal is automatically added to the
class, so you don't need that function anymore - just delete your call
to it and stuff should work.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]