windows not send widget to callback

2003-09-18 Thread Flavio Alberto Lopes Soares
Hello all, I'm creating an application that uses GTK2 and your interface is made using Glade 2, I attached in each window a signal key_press_event and in your callback I read in parameter *widget what window emitted this signal, but the *widget is allways NULL, and I can't identify what

Re: windows not send widget to callback

2003-09-18 Thread Flavio Alberto Lopes Soares
I believe that I found the problem, but I don't have a solution :( ! I made the interface using glade-2 and I add in field "Object" my struct (a structure that I use in my program, not any struct from Gtk) that has the information about these window (key pressed, info about buttons, max buttons i