Re: gtk tutorial section on unix signals



Hendrik Tews <tews tcs inf tu-dresden de> writes:

> Hi,
>
> I would like to write a section for the GTK tutorial that covers
> that unix signals, how to catch and process them.
>
> Before I spend too much time I would like to ask on this list:
>
> - Do you think this is a good idea? 
>
> - Where should I post the example code for discussion, here or on
>   the gtk-list? (I'am not at all a GTK expert.)
>
> IMHO it makes sense to include unix signals in the tutorial,
> because in a gtk application one has to do more than just calling
> signal (set up a pipe, encode the signals to the pipe, register
> the pipe in the event loop, ...)
>
I'd rather see that code abstracted and put into GLib (like
g_child_watch_add).

Regards, Rotty
-- 
Andreas Rottmann         | Rotty ICQ      | 118634484 ICQ | a rottmann gmx at
http://yi.org/rotty      | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

Beware of bugs in the above code; I have only proved it correct,
not tried it.  -- Donald E. Knuth




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