[Glade-users] Glade 3.4.0 Signal newbie problem
Daniel Dieterle
daniel at dieterle.ws
Wed Dec 12 08:56:43 EST 2007
Hi,
i'm not too familiar with glade but my problem was, that i forgot to
compile with the option:
-export-dynamic
You should verify that you compile with this option (look in your
compile options).
Daniel.
On Wed, 2007-12-12 at 22:06 +1000, Kimet Adil wrote:
> Hello,
>
> Newbie again sorry, I have spent 18 months away from Glade and I am
> having signal callback connection with an Anjuta project. I am using
> Anjuta 2.2.2 and Glade3.4.0.
>
> So I follow the procedure:
>
> (1) in Anjuta start a new gtk project and save (this creates the glade
> file)
> (2) open the glade file in Glade3.4.0
> (3) add a button to the window (that is already there)
> (4) select the button and choose the handler "on_button1_clicked"
> (5) set user data "button1*"
> (6) save the glade file
> (7) open the callbacks.c file and type:
> void on_button1_clicked (GtkButton *button1)
> {
> printf("button1 pressed\n");
> }
> (8) save the callbacks.c file
> (7) open the callbacks.h file and type:
> void on_button1_clicked (GtkButton *button1)
>
> (8) save the callbacks.h file
> (9) build the project - compiled successfully
> (10) run the program with the following output:
>
> (acc:24138): libglade-WARNING **: could not find signal handler
> 'on_button1_clicked'.
>
>
> I am sure the problem is trivial, or heavily documented somewhere, but I
> cannot find it. Please help.
>
> Cheers,
> Kim
>
>
> _______________________________________________
> Glade-users maillist - Glade-users at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/glade-users
>
More information about the Glade-users
mailing list