Re: Gtk::manage must be used only with add() ?



Thanks Murray,
This tip will be a great one to help simplifying my Gtkmm programs.

----- Original Message ----- From: "Murray Cumming" <murrayc murrayc com>
To: "Ehsan Aali" <ehssan aali gmail com>
Cc: <gtkmm-list gnome org>
Sent: Tuesday, May 03, 2011 11:50 AM
Subject: Re: Gtk::manage must be used only with add() ?


On Mon, 2011-05-02 at 23:59 +0430, Ehsan Aali wrote:
I am wondering does Gtk::manage only work properly with add() function or
will it manage to allocate and free the memory even if being used with
append_page() or pack_start() ?

Yes, it should work with anything that makes it a child of a container
widget.


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




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