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

another window



Hello everybody....

I'm making a program using GTK and I had a problem working with the widget window.


My program has the main window, and when the user clicks in a button, the program need to open another window to the user fill some fields....however, I can't do it.....

void open(void) {

GtkWidget window1;
....
....
....
gtk_widget_show(window1);
}


int main(int argc, char **argv) {
....
....
GtkWidget janela;
GtkWidget button;
....
...
....
gtk_signal_connect(GTK_OBJECT(button),"clicked",GTK_SIGNAL_FUNC(open),NULL)

gtk_widget_show(janela);




THANKS
Fernando Bertasso Figaro
_____________________________________________________________
http://www.zipmail.com.br   O e-mail que vai aonde você está.


_____________________________________________________________




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