Re: Newbie Question



You can use the g_signal_connect wich you may pass one or more parameters:
 look at http://developer.gnome.org/doc/API/2.0/gobject/gobject-Signals.html#g-signal-new

On Apr 5, 2005 1:26 PM, Tomaz Canabrava <tumaix gmail com> wrote:
i have a function defined by

void window_createMatrix(int rows, int colums, float **pointerMatrix, );

and a button "WhatSoEver"

is there a way to use the function by clicking the button?
i try to use the g_connect_event(G_OBJECT(WhatSoEver), "clicked",
window_createMatrix, Parameters List);
but the g_connect_event only takes 4 parameters, and my function
requires 3 more.

Help =/
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



-- 
André Pedralho
Bachelor in Computer Science
Instituto Nokia de Tecnologia



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