[Fwd: Move basic signal system into glib]
- From: "Sergey N. Yatskevich" <syatskevich n21lab gosniias msk ru>
- To: "gtk-devel-list gnome org" <gtk-devel-list gnome org>
- Subject: [Fwd: Move basic signal system into glib]
- Date: Tue, 12 Sep 2000 17:52:00 +0400
> Yes, GtkObject will be moved to glib and will become GObject - it's planned
> in the next version of gtk/glib (1.4.0 or 2.0 - the version number is not yet
> decided). You can download snapshots of them somewhere.
Current version of glib (1.3.1) don't include signal support for GObject
:-((
> As for now - you can link with gtk but don't use any gui functions and
> derive you classes from GtkObject (though I don't know whether it will work if
> you didn't call gtk_init() that requires a display) - but it's easiliy can be
> hacked.
This is what I do now, but I don't like use GUI lib when I don't need
GUI.
> Also, if all you need is something like signal system and don't want to
> do class inheritance in C, use C++ and use something like hashes of lists
> (with signal name as key) to simulate multiplie handlers for same signal.
I need develop application in C (and I like C :-))), I very like Gtk+
object system, and I wish to use as many of it core features as
possible.
I can wait for signal support in GObject, but I wish to be sure that it
will be there.
--
Sergey N. Yatskevich <syatskevich n21lab gosniias msk ru>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]