Re: [gtk-list] manage

"Brian J. Rohan" wrote:
> I am obviously very new to C++ and gtk--, sould someone please tell me
> what  manage  does?
> Brian

It hands control of the C++ object to the Gtk-- system. When the GTK
widget is destroyed it will destroy the object too.

Once you've called manage for a widget you do not need to keep track of
the pointer and you do not need to free it - Gtk-- will do it for you.



Matt Goodall             |  Isotek Electronics Ltd
email:  |  Claro House, Servia Road
Tel: +44 113 2343202     |  Leeds, LS7 1NL
Fax: +44 113 2342918     |  England

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