Re: Ok, almost figured it out but......



On Fri, 26 Sep 2003 18:00:39 -0500
Jason Dempsey <jasondempsey insightbb com> wrote:

Ok, i've ALMOST got this. But just one thing..... : 

void
on_button1_clicked                     (GtkButton       *button,
                                        gpointer         user_data)
{
notebook1 = gtk_notebook_
      gtk_notebook_append_page (GtkNotebook *notebook1,
                                GtkWidget   *textview1,
                                GtkWidget   *untitled);
}

ok, im having trouble at:

notebook1 = gtk_notebook_

When you create the notebook, save the GtkNotebook variable, and use it in this
callback.

Roland
-- 
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in email
http://www.xs4all.nl/~rsmith/         X     No Word docs in email
                                     / \    Respect for open standards

Attachment: pgpKq1KZQrnbD.pgp
Description: PGP signature



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