Re: g_signal_connect() - where is it?



On Sat, 2002-11-16 at 04:00, Fabio Zanetta wrote:
Hi all,

I repost this unsolved question :)

I need to import the g_signal_connect function into my C# program.

So I need to know in wich library it is.
With "library" I mean .so (on linux) or .dll (on win32) file.

example:

// Ok, gtk_init is in libgtk-win32-2.0-0.dll
//  or libgtk-x11-2.0-0.so if Linux
[DllImport(libgtk-win32-2.0-0.dll)]
public static extern void gtk_init (gint argc, IntPtr argv); 



I cannot find g_signal_connect :(

g_signal_connect is a macro, so (AFAIK) you cannot import it. You can
import the function it actually calls (g_signal_connect_data), which is
in libgobject.

Peace,

    Jim Cape
    http://ignore-your.tv

    "Solidarity, mutual aid, collective liberation, autonomy,
     empowerment, anti-hierarchy, anti-oppression, diversity,
     creativity--these are the social values I think of when
     I hear the word anarchy."
        -- http://www.infoshop.org/rants/solstice_reflections.html




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