Re: [gtkmm] how to set appended Notebook page active?
- From: "Andreas B. Thun" <abt gmx de>
- To: Vladislav Grinchenko <vgrinche integ com>, gtkmm-list gnome org
- Subject: Re: [gtkmm] how to set appended Notebook page active?
- Date: Mon, 02 Feb 2004 08:56:58 +0100
Vlad:
void Gtk::Notebook::set_current_page ( int page_number )
Switches to the page number page_num .
Parameters:
page_num Index of the page to switch to, starting from 0. If negative, the last page will be used. If greater than the number of pages in the notebook, nothing will be done.
It still does not work :-/
On Tue, Jan 27, 2004 at 10:19:21AM +0100, Andreas B. Thun wrote:
Hi!
When I append a second VBox to my notebook with
m_Notebook.append_page(*VBoxRight, notebookTabName);
the first notebook page is still displayed active.
I´ve tried
m_Notebook.set_current_page(1); // activate 2nd
but it has no effect.
Can somebody help?
Andi,
have you tried
m_Notebook.set_current_page(*VBoxRight) ?
-Vlad
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]