Re: Help With Adding A New Tab to 'notebook'
- From: Harring Figueiredo <harringf yahoo com>
- To: Jason Dempsey <jasondempsey insightbb com>, gtk-app-devel-list gnome org
- Subject: Re: Help With Adding A New Tab to 'notebook'
- Date: Fri, 26 Sep 2003 14:19:57 -0700 (PDT)
Are you sure you know C programming ?
If not, try to learn that first before you program on GTK.
What you are doing is declaring a function inside another function (which can
be done in C, but I am sure that is not what you want.
If you know C, I would recommend you read this page:
http://developer.gnome.org/doc/API/2.0/gtk/GtkNotebook.html#gtk-notebook-insert-page
Harring.
--- Jason Dempsey <jasondempsey insightbb com> wrote:
Ok: i now have this:
void
on_button1_clicked (GtkButton *button,
gpointer user_data)
{
void
gtk_notebook_insert_page (GtkNotebook *notebook,
GtkNotebook *child,
GtkNotebook *tab_label,
gint -1);
}
and i get this error:
callbacks.c: In function `on_button1_clicked':
callbacks.c:363: parse error before '-' token
make[2]: *** [callbacks.o] Error 1
Help!
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]