Re: [gtkmm] Gtk::Notebook problem
- From: Simon Fuhrmann <NightSlayer gmx de>
- To: Ioan Nicu <ioan nicu ines ro>
- Cc: Daniel Sundberg <dss home se>, gtkmm-list gnome org
- Subject: Re: [gtkmm] Gtk::Notebook problem
- Date: Sun, 7 Sep 2003 19:25:54 +0200
On Sun, Sep 07, 2003 at 05:02:17PM +0300, Ioan Nicu wrote:
> I think that it would be a waste of memory to alloc multiple TextView
> objects and the associated ScrolledWindows(used to manage the scrollbars
> for the textview) when I can manage a std::vector<ustring> containing
> the contents of the textbuffers and only load the apropriate content for
> the selected page (in the same TextView object)...
Then propably the Gtk::Notebook is not what you want. Use buttons to
force the TextView load new content. Or use a list and put in the names
of all your files you want to edit. That would possibly be nicer if there
are a lot of open files.
Regards.
--
Simon Fuhrmann | NightSlayer at gmx.de | http://www.dismember.de
All people talk about the real life, but where can I download it?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]