[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: How do I pass a widget pointer to a function/callback?
From:       "Leandro A. F. Pereira" <leandro () linuxmag ! com ! br>
Date:       2004-01-29 0:10:32
Message-ID: 20040128221032.348fec16 () ether
[Download RAW message or body]

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 

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic