Re: Creating New Tab with Text Edit inside?

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

 



>Hmm i seem to be having trouble creating a new tab in my notebook1.
>Heres my error:
>
>callbacks.c: In function `on_button1_clicked':
>callbacks.c:359: parse error before "GtkNotebook"
>
>Heres my code:
>
>
>void
>on_button1_clicked                     (GtkButton       *button,
>                                        gpointer         user_data)
>{
>notebook1 = gtk_notebook_insert_page (GtkNotebook *notebook)
>}
>
>If you guys could help me out, i really would appreciate it :D

you need to work on basic C programming. what you've written is not
even close to legal C. why is there a type declaration as the argument
to the function? where are "notebook" or notebook1 defined? 
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux