Creating New Tab with Text Edit inside?



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




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