Re: Help on compiling notebook example



Hi Murray & Ian,

The stabl version works. Thank you so much for your help.

I did a diff and here are diff results(back ones are from stable):
[chun localhost notebook]$ diff inc/examplewindow.h back/examplewindow.h
15c15
<   void on_notebook_switch_page(Gtk::Widget* page, guint page_num);
---
>   void on_notebook_switch_page(GtkNotebookPage* page, guint page_num);
[chun localhost notebook]$
[chun localhost notebook]$ diff src/examplewindow.cpp back/examplewindow.cpp
44c44
< void ExampleWindow::on_notebook_switch_page(Gtk::Widget* /* page */, guint page_num)
---
> void ExampleWindow::on_notebook_switch_page(GtkNotebookPage* /* page */, guint page_num)
[chun localhost notebook]$

Thanks,
Chun

On Tue, Oct 19, 2010 at 1:26 AM, Murray Cumming <murrayc murrayc com> wrote:
On Mon, 2010-10-18 at 22:19 -0700, Chun Yang wrote:
> Hello,
>
> I am not sure this is the correct way to get help on gtkmm GUI
> program. Please let me know.
>
> I am having a compiling error when compiling the notebook example on
> the following web-page.
>
> http://library.gnome.org/devel/gtkmm-tutorial/unstable/sec-multi-item-containers.html.en#sec-notebook

That's the version for the unstable gtkmm 3 API. Try the stable (gtkmm
2.x) version:
http://library.gnome.org/devel/gtkmm-tutorial/stable/sec-multi-item-containers.html.en#sec-notebook


--
murrayc murrayc com
www.murrayc.com
www.openismus.com




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