Re: Click and DESTROY
- From: Luciano Chavez <lnx1138 us ibm com>
- To: GTK+ App Devel Mail List <gtk-app-devel-list gnome org>
- Subject: Re: Click and DESTROY
- Date: 11 Jul 2002 16:51:52 -0500
On Thu, 2002-07-11 at 16:50, Wolfgang Draxinger wrote:
Ok, implement
void eventBtnOk(GtkButton *button)
{
/*do your event handling here*/
gtk_widget_destroy(button);
}
I think you meant,
GtkWidget *window;
/*
* Get the handle the toplevel parent window to destroy it.
*/
window = gtk_widget_get_toplevel (GTK_WIDGET (button));
gtk_widget_destroy (window);
--
regards,
Luciano Chavez
lnx1138 us ibm com
http://evms.sourceforge.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]