Re: [gtk-list] Syntax errors




>  How do you use gtk_widget_hide_all (GtkWidget (widget)); 'cause if I
>  write that down , it gives me a syntax error I dunno why 'cause that's
>  how I intepreted the source, please help me. 
>  
>  This also happens with me when I use 
>  gtk_tooltips_set_delay (GtkTooltips (tooltips), 500);
>  
>  I have no Idea why I have those syntax errors, I mean when I take those
>  2 stuff from my code everything works fine, but I want to use them, how?
>  'cause apparently I'm doing something wrong eventhough thats what I
>  understand from the source on how to use those two functions, 
>  
>  any help will be appreciated. Thanks
>  

Well... I think that

	gtk_tooltips_set_delay ((GtkTooltips *) tooltips, 500);

may be better.  It's the valid syntax for a cast.  I'm not sure, but
GTK_TOOLTIPS _might_ works.


-- 
o Benjamin DRIEU:	drieu@bocal.cs.univ-paris8.fr
			bdrieu@stationsoft.fr
o APRIL:		http://www.april.org



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