Re: [gtk-list] closing windows




On Mon, 28 Jun 1999, Alexandre Sagala wrote:
> 
> gtk_signal_connect_object (GTK_OBJECT (button2),
> "clicked",GTK_SIGNAL_FUNC (gtk_widget_destroy),GTK_OBJECT (window));
> 
> and it works but for the ok button on the click event I call up a
> function to check if all the info entered is ok but I wnt to kill the
> window and the same fucniton how can I do that????????????
> 

Make a callback that first checks the info and then kills it afterward
with gtk_widget_destroy().

Havoc




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