Re: why are signals strings instead of integer constants?




Miguel de Icaza writes:
>
>> In particular, gtk widgets that are not part of the gtk+ distribution
>> can add new signals without having to have a central signal ID
>> registry.
>
>Acutally, signal numbers get allocated when you initialize the widget
>class.  There is no central signal registration facility.

Exactly -- that's precisely what I was saying.

michaelkjohnson

"Magazines all too frequently lead to books and should be regarded by the
 prudent as the heavy petting of literature."            -- Fran Lebowitz
 Linux Application Development       http://www.redhat.com/~johnsonm/lad/



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