[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How do I pass a widget pointer to a function/callback?
- From: "Leandro A. F. Pereira" <leandro linuxmag com br>
- To: gtk-app-devel-list gnome org
- Subject: Re: How do I pass a widget pointer to a function/callback?
- Date: Wed, 28 Jan 2004 22:10:32 -0200
Quoted by a box full of cyborg droids
For `Jay Barnes <jaybarnes@yahoo.com>'
On Wednesday, 28 January 2004 (12:53):
>
> static void enter_ramen( GtkWidget *widget, gpointer box )
> {
>
> gtk_widget_hide(box);
> }
>
Try:
gtk_widget_hide(GTK_WIDGET(box));
-or-
gtk_widget_hide(widget);
--
Leandro Pereira (oO) <leandro@linuxmag.com.br>
/||\ www.mindcrisis.tk
"UNIX was not designed to stop you from doing stupid things, because
that would also stop you from doing clever things." - Doug Gwyn
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]