Re: Move basic signal system into glib



On Tue, 12 Sep 2000, Sergey N. Yatskevich wrote:

 Hi, 

 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.

 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.

 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.

> Hi,
> 
> I wish to use signals in non-GUI and non-GTK+ app. Do you plan
> include signal support in glib (and when)? I think this is a good
> idea. IMHO signal system is very important part of Glib/Gtk
> object system and it should be part of GObject.
> 
> I search for answer on my question in list archive and TODO's for
> Glib and GTK, but find nothing :-(((
> 
> P.S. I know english badly, but I hope you understand me.
> 
> -- 
> Sergey N. Yatskevich <syatskevich n21lab gosniias msk ru>

 Best regards,
  -Vlad





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]