Re: Using g_type_fronm_name ()



Ariel,

Have you tried calling the function after creating a GtkWidget?


Padraig

> How is g_type_from_name() suppose to work?
> I do not know what arg to pass to the function?
> I have tried with 'GtkWidget', "GtkType", etc to no avail.
> 
> 
> int
> main(){
> g_print ("hello\n");
> printf ("%ld\n", g_type_from_name ("GtkWidget"));
> return 1;
> }
> 
> 
> Any help?
> 
> ariel
> -- 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list




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