Hello Burak setHidden() affects CSS properties, but the widget is send to web browser. I am not sure if setEnabled do what you need. Documentation lacks information about this.
To make sure that user can't see the widget untill he logged in, create this widget after user log in. Connect signal Wt::Auth::Login::changed() to function, creating the widget. С уважением, Нагаев Борис On Mon, Jul 22, 2013 at 3:56 PM, Burak Kulakli <kula...@yahoo.co.uk> wrote: > Hello, > > In my Wt app, the start page only has auth widget and when > authentication is complete my container widget is shown. > > However, I've installed Web Developer extension in Chromium and if I > disable inline styles with it, my hidden container widget is shown > just below the authentication widget. > > There is nothing wrong in normal operation. I'm asking this for > security reasons. Those widgets must be hidden until a user logged in. > > What might be wrong here. Am I missing something? > > Regards, > Burak > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest