$config = []; $dlg->configure( -configx => $config ); process( $dlg->cget( "-configx" ) );