[gtkmm] Problem with Notebook tabs



Hi,
I'm developing an application that use Notebook widget, but I have problem with a code like this:
 
...
Gtk::Notebook *note = Gtk::manage(new Gtk::Notebook());
note->append_page(*Gtk::manage(new Gtk::Label("Hello World")), *Gtk::manage(new Gtk::Button("Click me")));
 
The problem is that I can't click (or send any event) to the Button contained into the tab.
I have done the same thing in an another application, written in Python using PyGTK wrapper, and I had no problems!
 
Is there someone can help me?
 
Thanks
--
Don't you know why your Python application has crashed?
Take a look to http://www.pycrash.org
My Home Page http://cnoviello.altervista.org


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