Cleanup of GUI elements

Hello,

I came upon two questions:

  • does a deep Cleanup in TGCompositeFrames also disconnect eventually existing connections and TGLayoutHints?
  • how can I print currently allocated ROOT objects in a WIN32 standalone application?

Thanks for your support!

Jürgen

Hi Jürgen,

  • DeepCleanup doesn’t disconnect signal/slots, but delete the TGLayoutHints

[quote=“Jürgen”]how can I print currently allocated ROOT objects in a WIN32 standalone application?[/quote]Maybe something like this:

[code]#include “TEnv.h”
#include “TObjectTable.h”

int main(int argc, char* argv[])
{
// enable object table status monitoring
gEnv->SetValue(“Root.ObjectStat”, 1);

// print all currently active objects in the system
gObjectTable->Print();
…[/code]
Cheers, Bertrand.

Hi Bertrand,

this helps a lot. Thanks!

Jürgen