closing a window

2004-04-15 Thread Chaitanya RD Kulkarni
hi! i have developed an application using gtk2.0.in my application,along with other windows, there's a window with a button on it.i want to destroy this window when i click the button. i tried using gtk_widget_destroy, with (gpointer)window as the function to be called when the button is clicked

Re: closing a window

2004-04-16 Thread Olexiy Avramchenko
Chaitanya RD Kulkarni wrote: hi! i have developed an application using gtk2.0.in my application,along with other windows, there's a window with a button on it.i want to destroy this window when i click the button. i tried using gtk_widget_destroy, with (gpointer)window as the function to be called

Problem in closing a window

2001-02-11 Thread Ananth Karthik
hi, I am having 2 windows each in different PCs.. when i press exit button in one window (say W1), the other window(say W2) should close... I am not using gtk_main() in W2 application.. Instead i'm using gtk_main_iteration() inside a while loop.. while(!ExitFlag) { gtk_main_iteration();