Re: Objective-C GTK+ Binding



On 8 Feb 2000 13:07:24 -0500, Felipe Paulo Guazzi Bergo <guazzibe@dcc.unicamp.br> wrote:
>
>
>Hi, I've got a couple of questions regarding the Objective-C bindings:
>
>1) Is there any binding that doesn't require GNUstep or the Foundation
>library (i.e., not based on NSObject) ? (the third link in the gtk
>homepage is broken and I couldn't trace it)

gnome-objc can be found at
ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-objc/

I have not updated it in a long time.

>2) Being pessimist about the answer on 1), how do I set an Objective-C
>   method as a callback to a GTK+ signal, i.e.:
>
>   gtk_signal_connect(GTK_OBJECT(whatever),"signal_name",
>                      <how do I get a method address ?>, 
>                      <instance pointer to object>);

You can't directly. gnome-objc allows you to do this, though.

-- Elliot
If imprinted foil seal under cap is broken or missing when purchased, do not use. 



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