Re: Problem: hiding window

2006-04-15 Thread Chris Vine
On Saturday 15 April 2006 05:21, Deependra Shekhawat wrote: > Hello friends, > > I want to hide a window when user clicks either on the > close button or press the close (CROSS) on the > top-right of every window. > Here is my code: > > GtkWidget *window1; > GtkWidget *butt_close; > > g_signal_conn

Re: Problem: hiding window

2006-04-15 Thread Daniel Pekelharing
On Fri, 2006-04-14 at 21:21 -0700, Deependra Shekhawat wrote: > void on_butt_close_clicked(GtkButton *button,gpointer > user_data) > { >gtk_widget_hide((GtkWidget *)user_data); > } I may be wrong about this, but I think you want to write this function like: gint on_butt_close_clicked(GtkButto