Re: passing 3 widgets as parameters to g_signal_connect
- From: Pedro Villaviencio <pvillavicencio linuxcenter cl>
- To: gtk-list gnome org
- Subject: Re: passing 3 widgets as parameters to g_signal_connect
- Date: Mon, 05 Jul 2004 09:41:15 -0400
On Mon, 2004-07-05 at 09:33, Leslie Harlley Watter wrote:
> Hi,
>
> How can I pass 3 widgets as a parameter to g_signal_connect?
>
> Example, If I have a single calculator with
>
> GtkWidget *op1; /* First operand */
> GtkWidget *op2; /* Secont operand */
> GtkWidget *res; /* result */
you can do a structure and pass them to the the callback.
>
> all these widgets are gtk_entry's and I want to pass they as a parameter
> because I need to manipulate their values inside a callback.
>
> Thanks in advance
>
> Leslie
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]