Hey
I have worked wid GLADE 4 years back, Its like VB++ i.e Drag and drop, I am not able to remember much but you can assign click response to your button,
Here i m trying to make a simple project wid a window and button placed on it :
suppose u have added a window and drag some button on it, just go to button properties and on signals tab assign the event on click.......
and after the designing of windows , just click on Build source code and it will create 6 or 8 files on the desired path named callsback.c callsback.o, main.c,main.o, {srry was not able to recall,}
to make event happen , u have to do changes in callsback.c
like it create the code somethg like this
on _button1_clicked {
}
In glade each object is called a widget, just write somethg like this ( By de way I m not sure as I am not able to recall)
So write somethg like dis on above block: { This code if runs perfectly .
, will open a new window whenever u click the button there }
window1=create_window1(); or window1=gtk_widget_create_window1();
{ Try both , as i am not sure which one is right or search google)
gtk_widget_show(window1); { This is right , here i m assuming that u named window as window1 }
Try and after that
#./congiure
#make
and executing ur project as
#./project1 {where project 1 is name of project }
Thanks
Gaurav